TGopScaledBitBltTransparent Class Reference

class TGopScaledBitBltTransparent : public TGraphicsOperation

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

TGopScaledBitBltTransparent(const TRect &, TAcceleratedBitmapSpec, TRect &, TGopTransparency)

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

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

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

Member Data Documentation

TRect iDestination

TRect iDestination

The destination rectangle for the portion of the source bitmap.

TAcceleratedBitmapSpec iSourceBitmap

TAcceleratedBitmapSpec iSourceBitmap

A handle to the source bitmap.

TRect iSourceRect

TRect iSourceRect

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

TGopTransparency iTransparency

TGopTransparency iTransparency

A specification for which pixels in the source bitmap should be treated as transparent.