QMed_RotateAreaImage

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

Rotates the image in a QMedical plug-in area.

The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_paramErr is returned.

The number of degrees is specified in the numDegrees parameter, which must be a multiple of 90. Positive values cause clockwise rotation, while negative values rotate the image counter-clockwise.

Example

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

QMedical © Escape
Generated by QDoc 2.8 on Wed, Jan 27, 2010 17:55:10