TernaryRasterOperations Enumeration

Specifies a raster-operation code.

These codes define how the color data for the source rectangle is to be combined with the color data for the destination rectangle to achieve the final color.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum TernaryRasterOperations

Remarks

Members

Blackness 66 [ Destination = BLACK ]

Fills the destination rectangle using the color associated with index 0 in the physical palette.

(This color is black for the default physical palette).

NotSrcErase 1,114,278 [ Destination = NOT Source AND NOT Destinatio) ]

Combines the colors of the source and destination rectangles by using the Boolean OR operator and then inverts the resultant color.

NotSrcCopy 3,342,344 [ Destination = NOT Source ]

Copies the inverted source rectangle to the destination.

SrcErase 4,457,256 [ Destination = Source AND NOT Destination ]

Combines the colors of the source and destination rectangles by using the Boolean OR operator and then inverts the resultant color.

DstInvert 5,570,569 [ Destination = NOT Destination ]

Inverts the destination rectangle.

PatInvert 5,898,313 [ Destination = Pattern XOR Destination ]

Combines the colors of the brush currently selected in hdcDest, with the colors of the destination rectangle by using the Boolean XOR operator.

SrcInvert 6,684,742 [ Destination = Source XOR Destination ]

Combines the colors of the source and destination rectangles by using the Boolean XOR operator.

SrcAnd 8,913,094 [ Destination = Source AND Destination ]

Combines the colors of the source and destination rectangles by using the Boolean AND operator.

MergePaint 12,255,782 [ Destination = NOT Source OR Destination ]

Merges the colors of the inverted source rectangle with the colors of the destination rectangle by using the Boolean OR operator.

MergeCopy 12,583,114 [ Destination = Source AND Pattern) ]

Merges the colors of the source rectangle with the brush currently selected in hdcDest, by using the Boolean AND operator.

SrcCopy 13,369,376 [ Destination = Source ]

Copies the source rectangle directly to the destination rectangle.

SrcPaint 15,597,702 [ Destination = Source OR Destination ]

Combines the colors of the source and destination rectangles by using the Boolean OR operator.

PatCopy 15,728,673 [ Destination = Pattern ]

Copies the brush currently selected in hdcDest, into the destination bitmap.

PatPaint 16,452,105 [ Destination = DPSnoo ]

Combines the colors of the brush currently selected in hdcDest, with the colors of the inverted source rectangle by using the Boolean OR operator.

The result of this operation is combined with the colors of the destination rectangle by using the Boolean OR operator.

Whiteness 16,711,778 [ Destination = WHITE ]

Fills the destination rectangle using the color associated with index 1 in the physical palette.

(This color is white for the default physical palette).

CaptureBlt 1,073,741,824 Capture window as seen on screen.

This includes layered windows such as WPF windows with AllowsTransparency="True"

NoMirrorBitmap -2,147,483,648 Prevents the bitmap from being mirrored.

See Also