AGWorldParams
Synopsis
group+AGAxisParams+AGTickXParams+AGTickYParams AGWorldParams
{
AGBoolean clip;
AGFloat limitsX[2];
AGFloat limitsY[2];
AGFloat limitsMarginX[2];
AGFloat limitsMarginY[2];
AGBoolean niceLimits = 1;
AGBoolean uniformScaling = 0;
};Description
AGWorldParams is a base object containing all the parameters common to all world objects.
Subobjects
Determines the range of the world coordinate system. If the second value is lower than the first value in a limits array (i.e., limitsX[1] < limitsX[0]), the coordinate space is reversed.
By default, limitsX and limitsY are unset and their values are determined based on the limits of any children connected to the world.
A primitive mechanism that increases the limits to generate a "nicer" appearance. For example, if the actual X limits are {0.32, 4.89}, setting niceLimits interprets the limits as {0.0, 5.0}.
When set, the scaling in the X and Y direction is equal, even though the entire viewport may not be utilized.
Example
File
See Also Related Modules