08-15-2008 08:56 AM
Hi, everybody.
I want to draw text in XOR mode, but CanvasDrawText cannot support this function.
Who can tell me how to do? Thanks.
Tim
2008.08.15
08-15-2008 09:52 AM
08-18-2008 09:08 AM
Hi, JR.
Thanks for your help. But I found another question when I checked the CanvasDrawText's help.
{
CanvasDrawText draws the text using the current value of ATTR_PEN_COLOR.
CanvasDrawText draws the background rectangle using the current value of the following attributes:
ATTR_PEN_FILL_COLOR
ATTR_PEN_MODE
ATTR_PEN_PATTERN
}
It looks like that CanvasDrawText cannot draw the text in VAL_XOR_MODE, but only use this mode in drawing background rectangle.
Is that ture?