I\'m looking for a way to draw text with inverted colors. For shapes, we have TPenMode that can b开发者_JAVA技巧e set to pmNot, but we can\'t do this for text. How can I do this instead?This does it:
I know that g.setXORMode(Color c) enables XOR mode drawing. But how to开发者_JAVA技巧 disable this mode after setXORMode call? g.setPaintMode()