Project

General

Profile

Previous Up Next

_SCPalphaBitmap
Copies a rectangular area with variable transparency between the content of an ObjBitmap (destination) and that of an AlphaBitmap (source).
The source ractangle and the destination rectangle can have different sizes : an automatic resizing is done.

ObjBitmap _SCPalphaBitmap (
ObjBitmap _dest_
I _destX1_
I _destY1_
I _destX2_
I _destY2_
AlphaBitmap _source_
I _sourceX1_
I _sourceY1_
I _sourceX2_
I _sourceY2_
I _width_
I _height_
)
Parameters

_dest_
the ObjBitmap which is the destination of the copy
_destX1_
the abscissa of the upper left point of the rectangle in the destination ObjBitmap
_destY1_
the ordinate of the upper left point of the rectangle in the destination ObjBitmap
_destX2_
the abscissa of the lower right point of the rectangle in the destination ObjBitmap
_destY2_
the ordinate of the lower right point of the rectangle in the destination ObjBitmap
_source_
the AlphaBitmap which is the source of the copy
_sourceX1_
the abscissa of the upper left point of the rectangle in the source AlphaBitmap
_sourceY1_
the ordinate of the upper left point of the rectangle in the source AlphaBitmap
_sourceX2_
the abscissa of the lower right point of the rectangle in the source AlphaBitmap
_sourceY2_
the ordinate of the lower right point of the rectangle in the source AlphaBitmap
_width_
the width of the rectangle to be copied
_height_
the height of the rectangle to be copied
Return value

The resulting ObjBitmap.
See Also

AlphaBitmap, _CPalphaBitmap.