|
|
|
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.
Defined in TGopTransparency:
Color()constGets the colour that is treated as transparent. This is the value of iParam as a...Pixel()constGets the value of the colour as a TInt that is treated as transparent. This is t...TGopTransparency(TInt)Constructor with a pixel value. The type is initialised to ETransparentPixel. An...TGopTransparency(TRgb)Constructor with a TRgb value. The type is initialised to ETransparentColor. Any...TGopTransparency(TTransparencyType)Constructor with a transparency type. iParam is initialised to zero.iParamHolds the value of the colour/pixel that is treated as transparent. iTypeThe transparency type. TTransparencyTypeEnumerates the four transparency types.TGopBitBltTransparentAn accelerated graphics operation that copies a rectangular region of one bitmap...TGopScaledBitBltTransparentAn accelerated graphics operation that copies a rectangular region of one bitmap...inline TGopTransparency(TTransparencyType aType);
Constructor with a transparency type. iParam is initialised to zero.
|
inline TGopTransparency(TInt aPixelValue);
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.
|
inline TGopTransparency(TRgb aRgb);
Constructor with a TRgb value. The type is initialised to ETransparentColor. Any pixel that has a color of aRgb is treated as transparent.
|
inline TRgb Color() const;
Gets the colour that is treated as transparent. This is the value of iParam as a TRgb.
|
inline TInt Pixel() const;
Gets the value of the colour as a TInt that is treated as transparent. This is the value of iParam.
|
TUint32 iParam;
Holds the value of the colour/pixel that is treated as transparent.