RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmMergePaint Constant

TCopyMode value : combines the inverted source bitmap with the image on the canvas by using the Boolean OR operator.

Pascal
cmMergePaint = MERGEPAINT;
C++
cmMergePaint = MERGEPAINT;

Graphics

cmMergePaint 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 cmMergePaint, the source pixels are inverted before being logically ORed with the destination pixels. 

 

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