VIDEO.ScaleY

Previous  Next

 

coord = ScaleY( yCoord  AS REAL,

                bScaled AS INTEGER ) AS REAL

 


 

Returns the scaled video Y coordinate in world coordinate system.  If bScaled is FALSE, then the return is in Pixels otherwise it's in scaled units. 

 

Note that the video coordinate system has the origin in upper left coorner as opposed to the measurement coordinate system that has it in lower right corner.

 

Example:

 

PRINT "Scaled Coord 10, 10    = ";VIDEO.ScaleX( nControl, 10 );", ";VIDEO.ScaleY( nControl, 10 ),

PRINT "UnScaled Coord 10, 470 = ";VIDEO.UnScaleX( nControl, 10 );", ";VIDEO.UnScaleY( nControl, 470 ),