RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmSrcErase Constant

TCopyMode value : inverts the image on the canvas and combines the result with the source bitmap by using the Boolean AND operator.

Pascal
cmSrcErase = SRCERASE;
C++
cmSrcErase = SRCERASE;

Graphics

cmSrcErase 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 cmSrcErase, the source pixels are ANDed with the inverted target pixels. 

 

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