:: com :: sun :: star :: chart2 ::
|
unpublished |
struct RelativeSize |
|
|
|
- Description
- Gives a position relative to some size defined by other means.
Values from 0 to 1 cover the entire reference rectangle. Values
may also be greater than one, meaning a bigger size than the
reference size. Negative values are not allowed.
|
Elements' Summary |
Primary |
The extension in the primary direction. The direction is
defined by the object using this point.
|
Secondary |
The extension in the secondary direction. The direction is
defined by the object using this point.
|
Elements' Details |
Primary
double Primary;
- Description
- The extension in the primary direction. The direction is
defined by the object using this point.
Typically, the direction is determined by an
::Orientation . Another typical use would be the
direction of a given orientation-angle.
The values are relative to the page or an object. Values
between 0 and 1 span the complete bounding rectangle of the
page/object.
For a western ::Orientation this is the
width.
|
|
Secondary
double Secondary;
- Description
- The extension in the secondary direction. The direction is
defined by the object using this point.
Typically, the direction is determined by an
::Orientation . Another typical use would be the
direction perpendicular to a given orientation-angle.
The values are relative to the page or an object. Values
between 0 and 1 span the complete bounding rectangle of the
page/object.
For a western ::Orientation this is the
height.
|
|
Top of Page
Copyright © 2003 Sun Microsystems, Inc.