TGopBitBltTransparent Class Reference

class TGopBitBltTransparent : public TGraphicsOperation

An accelerated graphics operation that copies a rectangular region of one bitmap into another, with some transparent pixels in the 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.

TGraphicsAcceleratorCaps::iTransparency TGopTransparency

Inherits from

Constructor & Destructor Documentation

TGopBitBltTransparent(const TPoint &, TAcceleratedBitmapSpec, TRect &, TGopTransparency)

TGopBitBltTransparent ( const TPoint & aDestination,
TAcceleratedBitmapSpec aSourceBitmap,
TRect & aSourceRect,
TGopTransparency aTransparency
) [inline]

Constructor with a destination, a handle to the source bitmap, a rectangle and a specification for which pixels should be treated as transparent.

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.
TGopTransparency aTransparency A specification for which pixels in the source bitmap should be treated as transparent.

Member Data Documentation

TPoint iDestination

TPoint iDestination

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

TAcceleratedBitmapSpec iSourceBitmap

TAcceleratedBitmapSpec iSourceBitmap

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

TRect iSourceRect

TRect iSourceRect

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

TGopTransparency iTransparency

TGopTransparency iTransparency

A specification for which pixels should be treated as transparent.