Source alpha color component
Premultiplied source red color component
Premultiplied source green color component
Premultiplied source blue color component
Premultiplied destination color
AlphaBlend Method
Alpha blends 2 premultiplied colors with each other
Syntax
public static int AlphaBlend( 
   int sa,
   int sr,
   int sg,
   int sb,
   int destPixel
)

Parameters

sa
Source alpha color component
sr
Premultiplied source red color component
sg
Premultiplied source green color component
sb
Premultiplied source blue color component
destPixel
Premultiplied destination color

Return Value

Premultiplied blended color value
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also