I'm currently implementing a routine that can draw text using a device context. Because I need many different font sizes the bitmap font is not feasible.
So far things work great and I can copy the text on to a GapiSurface. I have one problem, however. When copying to the destination surface, I would like that it is only the text pixel and not the background pixels that are copied. In other words, I need a Blit function that can ignore pixels of a certain color (make them transparent) and copy the rest. I believe this is normally called alpha keying, or something similar.
How is this possible with GapiDraw?
Thanks in advance.
Per Rasmussen.