MImgPutImage

Functions ››
Parent Previous Next

bOk = MImgPutImage( hImageDest, nLeft, nTop, hImageSource )

Puts an image into another image.

Parameters
hImageDest
Number: Handle of the destination image

nLeft, nTop
Number: Top left position where to put the source image

hImageSource
Number: Handle of the source image

Return
Boolean: TRUE if successful or FALSE if an error occurs

Remarks
The opacity of the source image ( transparent color, pixel opacity and max. opacity ) is considered.
The draw state of the source image is not considered.
The opacity value of a destination pixel remains unchanged unless the source pixel is fully opaque or the destination pixel is fully transparent.

Example

Call MImgPutImage( hImageDest, 70, 90, hImageSource )

Destination

Source

Destination after MImgPutImage

See also
MImgPutText
MImgPutTextAligned

Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files