RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmPatPaint Constant

TCopyMode value : combines the inverted source bitmap with the source pattern by using the Boolean OR operator. Combines the result of this operation with the image on the canvas by using the Boolean OR operator.

Pascal
cmPatPaint = PATPAINT;
C++
cmPatPaint = PATPAINT;

cmPatPaint 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 cmPatPaint, the source pattern and inverted bitmap pixels are ORed before ORing the resulting pixels with the target image pixels. 

 

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