RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmSrcAnd Constant

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

Pascal
cmSrcAnd = SRCAND;
C++
cmSrcAnd = SRCAND;

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

 

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