RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.cmDstInvert Constant

TCopyMode value : inverts the image on the canvas and ignores the source.

Pascal
cmDstInvert = DSTINVERT;
C++
cmDstInvert = DSTINVERT;

Graphics

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

cmDstInvert results in the the bits of each pixel in destination rectangle on the canvas simply being inverted. The source rectangle is ignored. 

 

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