TOC PREV NEXT INDEX

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
AGViewport / AGViewportObj
AGWorld
AGGraphViewport / AGGraphViewportObj

TOC PREV NEXT INDEX