CopyPixelOperation CopyPixelOperation CopyPixelOperation CopyPixelOperation Enum

定义

确定复制像素操作中的源颜色如何与目标颜色组合生成最终颜色。Determines how the source color in a copy pixel operation is combined with the destination color to result in a final color.

public enum class CopyPixelOperation
[System.Runtime.InteropServices.ComVisible(true)]
public enum CopyPixelOperation
type CopyPixelOperation = 
Public Enum CopyPixelOperation
继承
CopyPixelOperationCopyPixelOperationCopyPixelOperationCopyPixelOperation
属性

字段

Blackness Blackness Blackness Blackness 66

通过使用物理调色板中与索引 0 关联的颜色来填充目标区域。The 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.)

CaptureBlt CaptureBlt CaptureBlt CaptureBlt 1073741824

生成的图像中包含您的窗口上层叠的那些窗口。Windows 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.

DestinationInvert DestinationInvert DestinationInvert DestinationInvert 5570569

目标区域已逆转。The destination area is inverted.

MergeCopy MergeCopy MergeCopy MergeCopy 12583114

使用布尔运算符 AND 将源区域的颜色与目标设备上下文的所选定画笔的颜色合并。The colors of the source area are merged with the colors of the selected brush of the destination device context using the Boolean AND operator.

MergePaint MergePaint MergePaint MergePaint 12255782

通过使用布尔运算符 OR 将已逆转的源区域的颜色与目标区域的颜色合并。The colors of the inverted source area are merged with the colors of the destination area by using the Boolean OR operator.

NoMirrorBitmap NoMirrorBitmap NoMirrorBitmap NoMirrorBitmap -2147483648

位图未映射。The bitmap is not mirrored.

NotSourceCopy NotSourceCopy NotSourceCopy NotSourceCopy 3342344

逆转的源区域已复制到目标。The inverted source area is copied to the destination.

NotSourceErase NotSourceErase NotSourceErase NotSourceErase 1114278

使用布尔运算符 OR 组合源颜色和目标颜色,然后逆转生成的颜色。The source and destination colors are combined using the Boolean OR operator, and then resultant color is then inverted.

PatCopy PatCopy PatCopy PatCopy 15728673

目标设备上下文中当前选定的画笔被复制到目标位图。The brush currently selected in the destination device context is copied to the destination bitmap.

PatInvert PatInvert PatInvert PatInvert 5898313

使用布尔运算符 XOR 将目标设备上下文中当前选定的画笔颜色与目标的颜色组合。The 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.

PatPaint PatPaint PatPaint PatPaint 16452105

使用布尔运算符 OR 将目标设备上下文中当前选定的画笔颜色与已逆转的源区域的颜色组合。The 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. 使用布尔运算符 OR 将该运算的结果与目标区域的颜色组合。The result of this operation is combined with the colors of the destination area using the Boolean OR operator.

SourceAnd SourceAnd SourceAnd SourceAnd 8913094

使用布尔运算符 AND 将源区域与目标区域的颜色组合。The colors of the source and destination areas are combined using the Boolean AND operator.

SourceCopy SourceCopy SourceCopy SourceCopy 13369376

源区域已直接复制到目标区域。The source area is copied directly to the destination area.

SourceErase SourceErase SourceErase SourceErase 4457256

使用布尔运算符 AND 将目标区域的逆转后的颜色与源区域的颜色组合。The inverted colors of the destination area are combined with the colors of the source area using the Boolean AND operator.

SourceInvert SourceInvert SourceInvert SourceInvert 6684742

使用布尔运算符 XOR 将源区域与目标区域的颜色组合。The colors of the source and destination areas are combined using the Boolean XOR operator.

SourcePaint SourcePaint SourcePaint SourcePaint 15597702

使用布尔运算符 OR 将源区域与目标区域的颜色组合。The colors of the source and destination areas are combined using the Boolean OR operator.

Whiteness Whiteness Whiteness Whiteness 16711778

通过使用物理调色板中与索引 1 关联的颜色来填充目标区域。The 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.)

注解

枚举由Graphics类的CopyFromScreen方法使用。 CopyPixelOperationThe CopyPixelOperation enumeration is used by the CopyFromScreen method of the Graphics class.

适用于

另请参阅