| 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.
| Public Member Functions | |
|---|---|
| TGopScaledBitBltAlphaChannel(const TRect &, TAcceleratedBitmapSpec, TRect &) | |
| Inherited Enumerations | |
|---|---|
| TGraphicsOperation:TGopFunction | |
| Public Attributes | |
|---|---|
| TRect | iDestination |
| TAcceleratedBitmapSpec | iSourceBitmap |
| TRect | iSourceRect |
| Inherited Attributes | |
|---|---|
| TGraphicsOperation::iFunction | |
| TGraphicsOperation::iSize | |
| TGopScaledBitBltAlphaChannel | ( | const TRect & | aDestination, |
| TAcceleratedBitmapSpec | aSourceBitmap, | ||
| TRect & | aSourceRect | ||
| ) | [inline] | ||
Constructor with a destination rectangle, a handle to the source bitmap and a source rectangle.
| const TRect & aDestination | The destination for the portion of the source bitmap. If necessary, the source bitmap portion is resized to fit into this rectangle. |
| TAcceleratedBitmapSpec aSourceBitmap | A handle to the source bitmap, and other information needed to draw it. |
| TRect & aSourceRect | A rectangle within the source bitmap. Its coordinates are relative to the top left of the source bitmap. Defines the part of the source bitmap to be copied. |
| 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.