Export (0) Print
Expand All

VIEW_OBJECT_ALPHA_MODE enumeration

Specifies how the alpha value for a bitmap or render target should be treated in the buffer.

Syntax


typedef enum _VIEW_OBJECT_ALPHA_MODE { 
  VIEW_OBJECT_ALPHA_MODE_IGNORE         = 0,
  VIEW_OBJECT_ALPHA_MODE_PREMULTIPLIED  = 1,
  VIEW_OBJECT_ALPHA_MODE_Max            = 2147483647L
} VIEW_OBJECT_ALPHA_MODE;

Constants

VIEW_OBJECT_ALPHA_MODE_IGNORE

The alpha value is ignored.

VIEW_OBJECT_ALPHA_MODE_PREMULTIPLIED

Each color channel is scaled by the alpha value. Typically, no color channel value is greater than the alpha channel value. If a color channel value in a pre-multiplied format is greater than the alpha channel, the standard source-over blending math creates an additive blend.

VIEW_OBJECT_ALPHA_MODE_Max

Reserved

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft