QPx_InvertAreaImage

QPx_InvertAreaImage(areaRef; areaRef):error
areaRef Longint QPix area reference
selectionOnly Longint Invert selection only
error Longint Error result

Invert the colors of the image in a QPix 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 denotes the portion of the image to invert. To invert the entire image, set selectionOnly to 0. To invert the image within the selection marquee, set selectionOnly to 1.