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

[REBOL] Re: Transparency

From: arolls:idatam:au at: 16-Nov-2001 13:21

Try changing effect [key white] to effect [key 255.255.255] Anton.
> I need to plot some points dynamically over an image. I > thought I could > do it easily by adapting graph.r by Phil Bevans. I'd just make the > "paper" transparent and make the image the backdrop. This sorta > worked. I made the "paper" color, white, transparent in the panel on > which the plot is done. That works up until I clear the plot > to update > it. Then the "paper" goes back to white - which should be OK since > I've made white the transparent color - but it isn't transparent > anymore. Is it a bug that white doesn't remain transparent - or do I > just not know how to keep it that way. > panel > [ > across > origin 5x5 > space 5x5 > at 5x5 > gr-paper-f: image gr-paper/image > effect [key white] ;;;this works
effect [key 255.255.255]