TGopScaledBitBlt Class Reference

class TGopScaledBitBlt : public TGraphicsOperation

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.

Inherits from

Constructor & Destructor Documentation

TGopScaledBitBlt(const TRect &, TAcceleratedBitmapSpec, TRect &)

TGopScaledBitBlt(const TRect &aDestination,
TAcceleratedBitmapSpecaSourceBitmap,
TRect &aSourceRect
)[inline]

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

Parameters

const TRect & aDestinationThe destination for the portion of the source bitmap. If necessary, the source bitmap portion is resized to fit into this rectangle.
TAcceleratedBitmapSpec aSourceBitmapA handle to the source bitmap, and other information needed to draw it.
TRect & aSourceRectA 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.

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.