Enum CopyPixelOperation

CopyPixelOperation enumeration

Determines how the source color in a copy pixel operation is combined with the destination color to result in a final color.

public enum CopyPixelOperation

Values

NameValueDescription
NoMirrorBitmap-2147483648The bitmap is not mirrored.
Blackness66The destination area is filled by using the color associated with index 0 in the physical palette. (This color is black for the default physical palette.)
NotSourceErase1114278The source and destination colors are combined using the Boolean OR operator, and then resultant color is then inverted.
NotSourceCopy3342344The inverted source area is copied to the destination.
SourceErase4457256The inverted colors of the destination area are combined with the colors of the source area using the Boolean AND operator.
DestinationInvert5570569The destination area is inverted.
PatInvert5898313The colors of the brush currently selected in the destination device context are combined with the colors of the destination are using the Boolean XOR operator.
SourceInvert6684742The colors of the source and destination areas are combined using the Boolean XOR operator.
SourceAnd8913094The colors of the source and destination areas are combined using the Boolean AND operator.
MergePaint12255782The colors of the inverted source area are merged with the colors of the destination area by using the Boolean OR operator.
MergeCopy12583114The colors of the source area are merged with the colors of the selected brush of the destination device context using the Boolean AND operator.
SourceCopy13369376The source area is copied directly to the destination area.
SourcePaint15597702The colors of the source and destination areas are combined using the Boolean OR operator.
PatCopy15728673The brush currently selected in the destination device context is copied to the destination bitmap.
PatPaint16452105The colors of the brush currently selected in the destination device context are combined with the colors of the inverted source area using the Boolean OR operator. The result of this operation is combined with the colors of the destination area using the Boolean OR operator.
Whiteness16711778The destination area is filled by using the color associated with index 1 in the physical palette. (This color is white for the default physical palette.)
CaptureBlt1073741824Windows that are layered on top of your window are included in the resulting image. By default, the image contains only your window. Note that this generally cannot be used for printing device contexts.

See Also