TGopScaledBitBltMasked Class Reference
class TGopScaledBitBltMasked : public TGraphicsOperation
|
An accelerated graphics operation that copies a rectangular region of one bitmap into a different sized region of another, using a third bitmap as a mask.
The mask must be the same size as the source bitmap. The parts of the source bitmap that are drawn are the areas that are black in the mask.
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.
TGraphicsAcceleratorCaps::iMaskType
Constructor & Destructor Documentation
TGopScaledBitBltMasked(const TRect &, TAcceleratedBitmapSpec, TRect &, TAcceleratedBitmapSpec)
Constructor with a source and destination rectangle, and handles to the source and mask bitmaps.
Parameters
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
aMask
|
A handle to the mask bitmap.
|
Member Data Documentation
TRect
iDestination
The destination rectangle for the portion of the bitmap.
TAcceleratedBitmapSpec
iMask
A handle to the source bitmap mask.
TAcceleratedBitmapSpec
iSourceBitmap
A handle to the source bitmap.
TRect
iSourceRect
A rectangle defining all or a part of the source bitmap to be copied.
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.