RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

xRPG Core Library Procedures - RNBMATH: setPolygonScale()


Set the Adjustment Scale.

If point values were represented in a linear element (such as pixels) and needed to be adjusted to represent true size (feet, inches, meters, etc.) then this parameter can be set and the adjustment will be applied whenever mathematical operations are performed.

Usage:

setPolygonScale( scale );

Name Type Options Opt/Req Description
scale 10, 4 Const Req The desired scale for the calculations. If not set, then the default value is '1'. The scale is always reset to '1' when the polygon is cleared.
Returns: n/a n/a n/a No return value.

This site conforms with the following W3C specifications:

Web Essentials

Contact