QPix Command Reference Image Area

QPx_ResizeAreaImage

QPx_ResizeAreaImage(areaRef; hScale; vScale):error
areaRef Longint QPix area reference
hScale Real Horizontal scale
vScale Real Vertical scale
error Longint Error result

Resizes 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 horizontal and vertical resize factors are specified by the hScale and vScale parameters respectively.

Example

  `Resize area image (shrink 50%)
 
C_LONGINT($error)
 
$error:=QPx_ResizeAreaImage (gQPixArea;0.5;0.5)
 

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