You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • any idea of a hack to allow stuff already on screen of color other than black ( for ex ) to be all set to a particular color ?

    I'm not 100% sure I understand this, but I guess you have two options:

    • E.mapInPlace on g.buffer. If the display is paletted you could supply a lookup table for old->new color, which would be quite fast
    • You may be able to do something by turning the Graphics into an image, setting the transparent colour, and using drawImage - but I'm not 100% sure.

Avatar for Gordon @Gordon started