Pascal
procedure tsImageBlend(ImageID: tsImageID; OverImageID: tsImageID; X: tsInt; Y: tsInt; AutoExpand: tsBool);
C/C++
void tsImageBlend(tsImageID ImageID, tsImageID OverImageID, tsInt X, tsInt Y, tsBool AutoExpand);
These function can blend one semi-transparent image over an other.
The ID of the underlaying image.
The ID of the image which will be blended over the underlaying image.
The horizontal position where the overlaying image will be placed.
The vertical position where the overlaying image will be placed.
This parameter controls the expansion of the image. The following values are allowed for AutoExpand.
The image will be expanded.
The size of the image wont be changed.
|
Note |
|---|---|
|
At this moment this parameter will be ignored and the image always will be expanded. |
|
If there was no context bound.
If you try to resize an empty image.
This will happen if you pass an invalid ImageID to this function.