QPix Command Reference Image Area

QPx_RotateAreaImage

QPx_RotateAreaImage(areaRef; numDegrees):error
areaRef Longint QPix area reference
numDegrees Real Rotation degrees
error Longint Error result

Rotates the image in a QPix plug-in area by a number of degrees.

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 number of degrees is specified in the numDegrees parameter. Positive values cause clockwise rotation, while negative values rotate the picture counter-clockwise.

Example

  `Rotate area image by 90 degrees counter-clockwise
 
C_LONGINT($error)
 
$error:=QPx_RotateAreaImage (gQPixArea;-90)
 

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