RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmPatInvert Constant

TCopyMode value : combines the source pattern with the image on the canvas using the Boolean XOR operator.

Pascal
cmPatInvert = PATINVERT;
C++
cmPatInvert = PATINVERT;

cmPatInvert is a TCopyMode value used in the TCanvas CopyMode property.  

The CopyMode property is used by the CopyRect routine when copying an image from another canvas onto the current canvas.  

cmPatInvert, XORs each source pattern pixel with the target image pixels. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!