Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: GraphicsAccelerator.h

Class TGopBitBltMasked

class TGopBitBltMasked : public TGraphicsOperation;

Description

An accelerated graphics operation that copies a rectangular region of one bitmap into 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.

Derivation

Members

Defined in TGopBitBltMasked:
TGopBitBltMasked(), iDestination, iMask, 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

See also:


Construction and destruction


TGopBitBltMasked()

inline TGopBitBltMasked(const TPoint &aDestination, TAcceleratedBitmapSpec aSourceBitmap, TRect &aSourceRect, TAcceleratedBitmapSpec aMask);

Description

Constructor with a position, a source bitmap handle, a rectangle and a mask bitmap handle.

Parameters

const TPoint &aDestination

The destination for the top left hand corner of the portion of the source bitmap.

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 bitmap. Defines the part of the source bitmap to be copied.

TAcceleratedBitmapSpec aMask

A handle to the mask bitmap. The parts of the source bitmap that are drawn are the areas that are black in the mask bitmap.

[Top]


Member data


iDestination

TPoint iDestination;

Description

The destination for the top left hand corner of 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 all or a part of the bitmap to be copied.


iMask

TAcceleratedBitmapSpec iMask;

Description

A handle to the source bitmap mask.