[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.RasterOperationCode

RasterOperationCode Enum

Represents the raster operation code.

Namespace: C1.Framework.Drawing.Gdi.DeviceContexts
Assembly: C1.Win.Input.8.dll
Syntax
public enum RasterOperationCode

Fields

Name Description
Blackness

Fills the destination rectangle using the color associated with index 0 in the physical palette. (This color is black for the default physical palette.)

DestinationInvert

Inverts the destination rectangle.

Invert

Inverts the destination rectangle.

MergeCopy

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

MergePaint

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

NotSourceCopy

Copies the inverted source rectangle to the destination.

NotSourceErase

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

PatAnd

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

PatCopy

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

PatInvert

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

PatOr

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

PatPaint

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.

SourceAnd

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

SourceCopy

Copies the source rectangle directly to the destination rectangle.

SourceErase

Combines the inverted colors of the destination rectangle with the colors of the source rectangle by using the Boolean AND operator.

SourceInvert

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

SourcePaint

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

Whiteness

Fills the destination rectangle using the color associated with index 1 in the physical palette. (This color is white for the default physical palette.)