Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GraphicsAccelerator.h>

Enum TTransparencyType

TTransparencyType

Description

Enumerates the four transparency types.

ETransparentPixel and ETransparentColor are used with a pixel value or a TRgbTRgb respectively.

See also:

ETransparentPixelZero

Any pixel that has all bits equal to zero is treated as transparent.

ETransparentPixel

Any pixel that is equal to the pixel value passed to the TGopTransparencyTGopTransparency constructor is treated as transparent.

ETransparentColor

Any pixel that is equal to the TRgbTRgb value passed to the TGopTransparencyTGopTransparency constructor is treated as transparent.

ETransparent1555

In 16 bits per pixel display mode, which uses 5 bits each for red, green and blue, the most significant bit is an Alpha value. Alpha=0 means the pixel is transparent, Alpha=1 means the pixel is fully opaque.