Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Capturing transparent faces.

From: antonr:lexicon at: 27-Jun-2005 18:56

Hmm, you are right. This is going to need some more investigation and probably will go into Rambo. (I think I remember this problem from years ago...) A possible workaround *may* be to do it by setting b/saved-area to what the background should be. Or else you must view the window to render the effects: window: layout [ t: text "I am text underneath" effect [merge luma 20] at 10x10 b: box "hello" with [color: none] effect [merge gradmul 120.120.120 150.140.130] ] view/new/offset window -1000x-1000 ; necessary for win-offset? to work (uses parent-face) image: copy/part skip to-image window win-offset? b b/size unview/only window view layout [image (image)] Not entirely satisfactory, since a window is created and destroyed in a flicker. If you have many faces to do, then there is a flickering user interface. Perhaps to alleviate this an already open window can be used, though I suspect clipping will not allow faces with negative offsets to be rendered properly. Anton.