Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GraphicsAccelerator.h>

Class TGopScaledBitBltAlphaBitmap

class TGopScaledBitBltAlphaBitmap : public TGraphicsOperation;

Description

An accelerated graphics operation that copies a rectangular region of one bitmap into a different sized region of another using alpha blending values provided in a third bitmap.

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 TGopScaledBitBltAlphaBitmap:

Inherited from TGraphicsOperation:

See also:


Construction and destruction


TGopScaledBitBltAlphaBitmap(const TRect &,TAcceleratedBitmapSpec,TRect &,TAcceleratedBitmapSpec)

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

Description

Constructor with a source and destination rectangle and two bitmap handles.

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 aAlphaBitmap

A handle to the bitmap that contains alpha blending values.

[Top]


Member data


iDestination

TRect iDestination;

Description

The destination for the portion of the bitmap.


iSourceBitmap

TAcceleratedBitmapSpec iSourceBitmap;

Description

A handle to the source bitmap, and other information needed to draw it.


iSourceRect

TRect iSourceRect;

Description

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


iAlphaBitmap

TAcceleratedBitmapSpec iAlphaBitmap;

Description

A handle to the bitmap that contains alpha blending values.