class TGopTransparency |
Specifies which pixels should be treated as transparent in a bitblt operation that supports transparency.
This is used by the TGopBitBltTransparent and TGopScaledBitBltTransparent graphics operations.
For the possible transparency types, see the TTransparencyType enumeration.
An object of this class is specified when constructing a TGopBitBltTransparent or TGopScaledBitBltTransparent .
TTransparencyType TGopBitBltTransparent TGopScaledBitBltTransparent
Public Member Functions | |
---|---|
TGopTransparency ( TTransparencyType ) | |
TGopTransparency ( TInt ) | |
TGopTransparency ( TRgb ) | |
TRgb | Color () |
TInt | Pixel () |
Public Attributes | |
---|---|
TUint32 | iParam |
TTransparencyType | iType |
TGopTransparency | ( | TTransparencyType | aType | ) | [inline] |
Constructor with a transparency type. iParam is initialised to zero.
TTransparencyType aType | The transparency type. |
TGopTransparency | ( | TInt | aPixelValue | ) | [inline] |
Constructor with a pixel value. The type is initialised to ETransparentPixel. Any pixel that has a value equal to aPixelValue is treated as transparent. aPixelValue is the bit pattern of the pixel as stored in the bitmap.
TInt aPixelValue | The pixel value. |
TGopTransparency | ( | TRgb | aRgb | ) | [inline] |
Constructor with a TRgb value. The type is initialised to ETransparentColor. Any pixel that has a color of aRgb is treated as transparent.
TRgb aRgb | The TRgb value. |
TRgb | Color | ( | ) | const [inline] |
Gets the colour that is treated as transparent. This is the value of iParam as a TRgb .
TInt | Pixel | ( | ) | const [inline] |
Gets the value of the colour as a TInt that is treated as transparent. This is the value of iParam.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.