bOk = MImgInvert( hImage )

Inverts an image.

Parameters
hImage
Number: Handle of the image

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

Example

Call MImgInvert( hImage )

Original

Inverted

Remarks
Draw operations are much faster when you disable an image with this function instead of using the draw state MIMG_DST_INVERTED or the draw parameter MIMG_DRAW_INVERTED.

See also
MImgSetDrawState
MImgDisable
MImgGrayScale
MImgMirror
MImgRotate

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator