RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmSrcInvert Constant

TCopyMode value : combines the image on the canvas and the source bitmap by using the Boolean XOR operator.

Pascal
cmSrcInvert = SRCINVERT;
C++
cmSrcInvert = SRCINVERT;

Graphics

cmSrcInvert 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.  

With cmSrcInvert, the source pixels are XORed with the target pixels. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!