Vcl.Graphics.TCopyMode
Delphi
unit Vcl.Graphics;
{$HPPEMIT LEGACYHPP}
C++
typedef int TCopyMode;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
TCopyMode specifies how a graphical image is copied onto a canvas.
TCopyMode values describe how to combine the colors of a source bitmap and a destination bitmap.
The Windows unit defines the following constants for TCopyMode values:
Value | Meaning |
---|---|
cmBlackness |
Fills the destination rectangle on the canvas with black. |
cmDstInvert |
Inverts the image on the canvas and ignores the source. |
cmMergeCopy |
Combines the image on the canvas and the source bitmap by using the Boolean AND operator. |
cmMergePaint |
Combines the inverted source bitmap with the image on the canvas by using the Boolean OR operator. |
cmNotSrcCopy |
Copies the inverted source bitmap to the canvas. |
cmNotSrcErase |
Combines the image on the canvas and the source bitmap by using the Boolean OR operator, and inverts the result. |
cmPatCopy |
Copies the source pattern to the canvas. |
cmPatInvert |
Combines the source pattern with the image on the canvas using the Boolean XOR operator |
cmPatPaint |
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. |
cmSrcAnd |
Combines the image on the canvas and source bitmap by using the Boolean AND operator. |
cmSrcCopy |
Copies the source bitmap to the canvas. |
cmSrcErase |
Inverts the image on the canvas and combines the result with the source bitmap by using the Boolean AND operator. |
cmSrcInvert |
Combines the image on the canvas and the source bitmap by using the Boolean XOR operator. |
cmSrcPaint |
Combines the image on the canvas and the source bitmap by using the Boolean OR operator. |
cmWhiteness |
Fills the destination rectangle on the canvas with white. |