CODSprite::CreateSpriteMasks

BOOLCODSprite::CreateSpriteMasks(void)

Create AND and OR sprite masks.

Defined in: OdDib.cpp

Return Value

Non-zero if successful; otherwise zero.

Comments

This function creates two DIBs that are used to draw the sprite. The AND mask is a monochrome DIB in which all transparent pixels are set to white, and non-transparent pixels are set to black. The OR mask is a color DIB in which transparent pixels are black and non-transparent pixels are their original color.