xtd 0.2.0
Loading...
Searching...
No Matches

◆ copy_pixel_operation

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

Namespace
xtd::drawing
Library
xtd.drawing
Remarks
The xtd::drawing::copy_pixel_operation enumeration is used by the xtd::drawing::graphics::copy_from_screen method of the xtd::drawing::graphics class.
Enumerator
blackness 

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.)

capture_blt 

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.

destination_invert 

The destination area is inverted.

merge_copy 

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.

merge_paint 

The colors of the inverted source area are merged with the colors of the destination area by using the Boolean OR operator.

no_mirror_bitmap 

The bitmap is not mirrored.

not_source_copy 

The inverted source area is copied to the destination.

not_source_erase 

The source and destination colors are combined using the Boolean OR operator, and then resultant color is then inverted.

pat_copy 

The brush currently selected in the destination device context is copied to the destination bitmap.

pat_invert 

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.

pat_paint 

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. The result of this operation is combined with the colors of the destination area using the Boolean OR operator.

source_and 

The colors of the source and destination areas are combined using the Boolean AND operator.

source_copy 

The source area is copied directly to the destination area.

source_erase 

The inverted colors of the destination area are combined with the colors of the source area using the Boolean AND operator.

source_invert 

The colors of the source and destination areas are combined using the Boolean XOR operator.

source_paint 

The colors of the source and destination areas are combined using the Boolean OR operator.

whiteness 

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.)