Table of Contents

Enum WinGDI.ShadingAndBlendingCapability

Namespace
Npp.DotNet.Plugin.Winforms
Assembly
Npp.DotNet.Plugin.dll

Possible bit flags for the return value of GetDeviceCaps(IntPtr, DeviceCapability) when the index parameter is SHADEBLENDCAPS.

[Flags]
public enum WinGDI.ShadingAndBlendingCapability : uint

Fields

SB_CONST_ALPHA = 1

Handles the SourceConstantAlpha member of the BLENDFUNCTION structure

SB_GRAD_RECT = 16

GradientFill rectangles

SB_GRAD_TRI = 32

GradientFill triangles

SB_NONE = 0

Does not support shading and blending capabilities

SB_PIXEL_ALPHA = 2

Can handle per-pixel alpha in AlphaBlend

SB_PREMULT_ALPHA = 4

Can handle premultiplied alpha in AlphaBlend