|
|
|
|
Location:
GraphicsAccelerator.h
class TGopBitBltAlphaChannel : public TGraphicsOperation;
An accelerated graphics operation that copies a rectangular region of one bitmap into another, using alpha blending.
The alpha value is part of each pixel in the source bitmap. For instance, a 32 bits per pixel bitmap may have 8 bits for each of the alpha, red, green and blue values.
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
TGopBitBltAlphaChannel - An accelerated graphics operation that copies a rectangular region of one bitmap into another, using alpha blending
Defined in TGopBitBltAlphaChannel:
TGopBitBltAlphaChannel(), iDestination, iSourceBitmap, iSourceRect
Inherited from TGraphicsOperation:
Append(),
EAlphaBlendOneBitmap,
EAlphaBlendTwoBitmaps,
EBitBlt,
EBitBltAlphaBitmap,
EBitBltAlphaChannel,
EBitBltMasked,
EBitBltTransparent,
EFadeRect,
EFilledPolygon,
EFilledPolygonWithPattern,
EFilledRect,
EFilledRectUsingDrawMode,
EFilledRectWithPattern,
EInvertRect,
EScaledBitBlt,
EScaledBitBltAlphaBitmap,
EScaledBitBltAlphaChannel,
EScaledBitBltMasked,
EScaledBitBltTransparent,
Function(),
Next(),
Size(),
TGopFunction,
iFunction,
iSize
inline TGopBitBltAlphaChannel(const TPoint &aDestination, TAcceleratedBitmapSpec aSourceBitmap, TRect &aSourceRect);
Constructor with a position, a bitmap handle and a rectangle.
|
TPoint iDestination;
The destination for the top left hand corner of the portion of the bitmap.
TAcceleratedBitmapSpec iSourceBitmap;
A handle to the source bitmap, and other information needed to access it.
TRect iSourceRect;
A rectangle defining all or a part of the bitmap to be copied.