CopyPixelOperation

CopyPixelOperation enum

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

enum class CopyPixelOperation

Values

NameValueDescription
NoMirrorBitmapn/aThe bitmap is not mirrored.
Blackness66The destination region is filled by using the color with index 0 in the physical palette.
NotSourceErase1114278The source and destination colors are ORed and the color that results is then inverted.
NotSourceCopy3342344The source region is inverted and then copied to the destination.
SourceErase4457256The inverted colors of the destination region are ANDed with the colors of the source region.
DestinationInvert5570569The destination region is inverted.
PatInvert5898313The colors of the brush currently selected in the destination device context are XORed with the colors of the destination.
SourceInvert6684742The colors of the source and destination regions are XORed.
SourceAnd8913094The colors of the source and destination regions are ANDed.
MergePaint12255782The colors of the inverted source region are ORed with the colors of the destination region.
MergeCopy12583114The colors of the source region are ANDed with the colors of the selected brush of the destination device context.
SourceCopy13369376The source region is copied directly to the destination region.
SourcePaint15597702The colors of the source and destination regions are ORed.
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 ORed with the colors of the inverted source region. The result of this operation is ORed with the colors of the destination region.
Whiteness16711778The destination region is filled by using the color with index 1 in the physical palette.
CaptureBlt1073741824Windows that are layered on top of application’s window are included in the resulting image.

See Also