RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmMergeCopy Constant

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

Pascal
cmMergeCopy = MERGECOPY;
C++
cmMergeCopy = MERGECOPY;

Graphics

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

cmMergeCopy results in the pixels in the source and destination rectangles being logically ANDed. For example, a green pixel in the source will merge with a blue destination pixel to result in a cyan pixel. 

 

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