QPix Command Reference
![]() |
![]() ![]() |
QPx_InvertPicture(pictVar):error | |||
![]() |
pictVar | Picture | Picture variable |
![]() |
error | Longint | Error result |
Inverts the colors of a picture.
The source picture is passed in the pictVar parameter. The source picture may be compressed or uncompressed. The inverted picture is also returned in the pictVar parameter and it is always uncompressed. If an error occurs, pictVar is set to an empty picture.
Example
`Invert a picture C_PICTURE($picture) C_LONGINT($error) $picture:=[Images]Picture $error:=QPx_InvertPicture ($picture) If ($error=qpx_noErr) [Images]Picture:=$picture End if |