QPix Command Reference Image Area |

### QPx_FlipAreaImage

QPx_FlipAreaImage(areaRef; flipMode):error
| areaRef | Longint | QPix area reference
| flipMode | Longint | How the image should be flipped
| error | Longint | Error result

Flips the image in a QPix plug-in area horizontally, vertically or both.

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 flipMode parameter is a number that denotes how the image should be flipped. flipMode accepts the following constants and values:

qpx_FlipHorizontal | 1 | Horizontal flipping
qpx_FlipVertical | 2 | Vertical flipping
qpx_FlipBoth | 3 | Horizontal and Vertical flipping

Example

``Frip area image horizontally` `` `C_LONGINT($error)` `` `$error:=QPx_FlipAreaImage (gQPixArea;qpx_FlipHorizontal)` ``

QPix © Escape Information Services
Generated by QDoc 2.6 on Thu, 2 May 2002 00:50:00 +0300