TGopScaledBitBltAlphaBitmap Class Reference

#include <graphicsaccelerator.h>

class TGopScaledBitBltAlphaBitmap : public TGraphicsOperation

Inherits from

Detailed 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.

See also: TGraphicsAcceleratorCaps::iAlphaBitmap

Member Attribute Documentation

iAlphaBitmap

A handle to the bitmap that contains alpha blending values.

iDestination

TRect iDestination

The destination for the portion of the bitmap.

iSourceBitmap

TAcceleratedBitmapSpec iSourceBitmap

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

iSourceRect

TRect iSourceRect

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

Constructor & Destructor Documentation

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

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

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

ParameterDescription
aDestinationThe destination for the portion of the source bitmap. If necessary, the source bitmap portion is resized to fit into this rectangle.
aSourceBitmapA handle to the source bitmap, and other information needed to draw it.
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.
aAlphaBitmapA handle to the bitmap that contains alpha blending values.