AGWorldParams


Synopsis

world parameters

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

majorTickColor
majorTickLineStyle
majorTickOn
majorTickWidth
minorTickColor
minorTickCount
minorTickLineStyle
minorTickWidth

Inherited from AGTickParams through AGAxisParams.

axleColor
axleWidth
labelColor
labelFont
labelHeight

Inherited from AGAxisParams.

majorReferenceX
majorStepX

Inherited from AGTickXParams.

majorReferenceY
majorStepY

Inherited from AGTickYParams.

clip

If set, all children, except any axis object, are clipped against the current viewport.

limitsX
limitsY

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.

niceLimits

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}.

uniformScaling

When set, the scaling in the X and Y direction is equal, even though the entire viewport may not be utilized.

Example

Not available.

File

v/ag.v

See Also

Related modules

•      AGAxisParams

•      AGContourWorld

•      AGGraphWorld

•      AGTickParams

•      AGTickXParams / AGTickYParams

•      AGWorld