Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: GraphicsAccelerator.h

Class TGopScaledBitBlt

class TGopScaledBitBlt : public TGraphicsOperation;

Description

An accelerated graphics operation that copies a rectangular region of one bitmap into a different sized region of another.

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.

Derivation

Members

Defined in TGopScaledBitBlt:
TGopScaledBitBlt(), 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


Construction and destruction


TGopScaledBitBlt()

inline TGopScaledBitBlt(const TRect &aDestination, TAcceleratedBitmapSpec aSourceBitmap, TRect &aSourceRect);

Description

Constructor with a destination rectangle, a handle to the source bitmap and a source rectangle.

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.

[Top]


Member data


iDestination

TRect iDestination;

Description

The destination rectangle for the portion of the source bitmap.


iSourceBitmap

TAcceleratedBitmapSpec iSourceBitmap;

Description

A handle to the source bitmap.


iSourceRect

TRect iSourceRect;

Description

A rectangle defining all or a part of the source bitmap to be copied.