Click or drag to resize

TernaryRasterOperations Enumeration

Specifies a raster-operation code. These codes define how the color data for the source rectangle is to be combined with the color data for the destination rectangle to achieve the final color.

Namespace: Altaxo.UnmanagedApi.Gdi32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public enum TernaryRasterOperations
Members
Member nameValueDescription
BLACKNESS66dest = BLACK
NOTSRCERASE1,114,278dest = (NOT src) AND (NOT dest)
NOTSRCCOPY3,342,344dest = (NOT source)
SRCERASE4,457,256dest = source AND (NOT dest)
DSTINVERT5,570,569dest = (NOT dest)
PATINVERT5,898,313dest = pattern XOR dest
SRCINVERT6,684,742dest = source XOR dest
SRCAND8,913,094dest = source AND dest
MERGEPAINT12,255,782dest = (NOT source) OR dest
MERGECOPY12,583,114dest = (source AND pattern)
SRCCOPY13,369,376dest = source
SRCPAINT15,597,702dest = source OR dest
PATCOPY15,728,673dest = pattern
PATPAINT16,452,105dest = DPSnoo
WHITENESS16,711,778dest = WHITE
CAPTUREBLT1,073,741,824 Capture window as seen on screen. This includes layered windows such as WPF windows with AllowsTransparency="true"

The TernaryRasterOperations type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodIsT Determines whether the enumeration value is equal to the specified value.
(Defined by EnumerationExtensions)
Public Extension MethodWithClearedFlagT Returns the enum value with the specified flag cleared.
(Defined by EnumerationExtensions)
Public Extension MethodWithFlagT Returns the enum value with the specified flag set or cleared, depending on the value argument.
(Defined by EnumerationExtensions)
Public Extension MethodWithSetFlagT Returns the enum value with the specified flag set.
(Defined by EnumerationExtensions)
Top
See Also