QPix Command Reference
![]() |
![]() ![]() |
QPx_InvertAreaImage(areaRef; selectionOnly):error | |||
![]() |
areaRef | Longint | QPix area reference |
![]() |
selectionOnly | Longint | Invert selection only |
![]() |
error | Longint | Error result |
Inverts the colors of the image in a QPix plug-in area.
The QPix plug-in area is specified by areaRef. If areaRef is not a valid QPix plug-in area reference, qpx_paramErr is returned.
The selectionOnly parameter is a number that denotes what part of the image to invert. To invert the whole image, set selectionOnly to 0. To invert the image portion that is currently selected with the marquee tool, set selectionOnly to 1.