AGViewportParams


Synopsis

viewport parameters

group AGViewportParams
{
AGBoolean clip = 0;
AGColor fillColor;
AGColor frameColor = "antibackground";
AGDistance frameWidth = 0.25;
AGFloat limitsX[2] = {-5, 5};
AGFloat limitsY[2] = {-5, 5};
};

Description

AGViewportParams is a base object containing all the parameters common to all viewport objects.

Subobjects

clip

Controls if objects connected to a viewport are clipped against the viewport at draw time. Note that this subobject also exists in AGWorld.

fillColor
frameColor
frameWidth

The fill color, frame color, and frame width of the viewport.

limitsX
limitsY

The limits of the viewport. The default is {-5.0,5.0}, which corresponds to the default address space in any of the viewers from the Graphics Display Kit.

Example

Not available.

File

v/ag.v

See Also

Related modules

•      AGContourViewport / AGContourViewportObj

•      AGGraphViewport / AGGraphViewportObj

•      AGViewport / AGViewportObj

•      AGWorld

Further information

•