|
||
class TGopScaledBitBltAlphaChannel : public TGraphicsOperation;
An accelerated graphics operation that copies a rectangular region of one bitmap into a different sized region of another using alpha blending. The alpha value is part of each pixel in the source bitmap.
Supported bitmap formats with an alpha-channel are given in by TGraphicsAcceleratorCaps::iAlphaChannel
.
The data members are all initialised on construction. Objects of this class can be passed to a graphics accelerator's Operation() function either individually, or in a buffer.
TGraphicsOperation
- Abstract base class for all graphics operations.
TGopScaledBitBltAlphaChannel
- An accelerated graphics operation that copies a rectangular region of one bitmap...
Defined in TGopScaledBitBltAlphaChannel
:
TGopScaledBitBltAlphaChannel(const TRect &,TAcceleratedBitmapSpec,TRect &)
Constructor with a destination rectangle, a handle to the source bitmap and a so...iDestination
The destination for the portion of the source bitmap. iSourceBitmap
A handle to the source bitmap, and other information needed to draw it. iSourceRect
A rectangle defining the part of the source bitmap to be copied. Inherited from TGraphicsOperation
:
Append(TInt,TAny *)
EAlphaBlendOneBitmap
EAlphaBlendTwoBitmaps
EBitBlt
EBitBltAlphaBitmap
EBitBltAlphaChannel
EBitBltMasked
EBitBltTransparent
EChunkTest
EFadeRect
EFilledPolygon
EFilledPolygonWithPattern
EFilledRect
EFilledRectUsingDrawMode
EFilledRectWithPattern
EInvertRect
EScaledBitBlt
EScaledBitBltAlphaBitmap
EScaledBitBltAlphaChannel
EScaledBitBltMasked
EScaledBitBltTransparent
EVirtualAddressTest
Function()const
Next()const
Size()const
TGopFunction
TGraphicsOperation(TGopFunction,TInt)
iFunction
iSize
TGraphicsAcceleratorCaps::iAlphaChannel
Specifies the capabilities relating to operations that use an alpha channel. Use...inline TGopScaledBitBltAlphaChannel(const TRect &aDestination, TAcceleratedBitmapSpec aSourceBitmap, TRect &aSourceRect);
Constructor with a destination rectangle, a handle to the source bitmap and a source rectangle.
|
TAcceleratedBitmapSpec iSourceBitmap;
A handle to the source bitmap, and other information needed to draw it.
TRect iSourceRect;
A rectangle defining the part of the source bitmap to be copied.