#include <hps.h>
Detailed Description
The Text class is a concept class for text-related enum classes.
Member Enumeration Documentation
|
strong |
Enumeration of the alignments used for text string. These define what the insertion point for a text string is measured with respect to.
|
strong |
Enumerates the greeking modes. These define what to draw in place of characters once they fall below the greeking limit.
|
strong |
Enumerates the units for greeking limits.
Enumerator | |
---|---|
ObjectSpace |
Object space units ignoring any scaling components in modelling matrices. |
SubscreenRelative |
Fraction of the height of the outermost window. |
WindowRelative |
Fraction of the height of the local window. |
WorldSpace |
Object space units including any scaling components in modelling matrices and cameras. |
Points |
Points units typically used for text size. 1 point corresponds to 1/72 inch. |
Pixels |
Number of pixels. |
|
strong |
|
strong |
|
strong |
Enumerates the units for background margins.
Enumerator | |
---|---|
ObjectSpace |
Object space units ignoring any scaling components in modelling matrices. |
SubscreenRelative |
Fraction of the height of the outermost window. |
WindowRelative |
Fraction of the height of the local window. |
WorldSpace |
Object space units including any scaling components in modelling matrices and cameras. |
Points |
Points units typically used for text size. 1 point corresponds to 1/72 inch. |
Pixels |
Number of pixels. |
Percent |
Percentage of the requested font height. |
|
strong |
|
strong |
|
strong |
Enumerates the alignments for text regions. These define how text strings will be positioned relative to the line defining the text region.
Enumerator | |
---|---|
Top |
Text will be drawn below the region line. |
Center |
Text will be drawn such that the region line passes through its center. |
Bottom |
Text will be drawn above the region line. |
|
strong |
Enumerates the renderers for text strings. These define the font-handling subsystems Visualize uses to find and render fonts.
|
strong |
|
strong |
Enumerates the units for size tolerances.
Enumerator | |
---|---|
ObjectSpace |
Object space units ignoring any scaling components in modelling matrices. |
SubscreenRelative |
Fraction of the height of the outermost window. |
WindowRelative |
Fraction of the height of the local window. |
WorldSpace |
Object space units including any scaling components in modelling matrices and cameras. |
Points |
Points units typically used for text size. 1 point corresponds to 1/72 inch. |
Pixels |
Number of pixels. |
Percent |
Percentage of the requested font size defining the lower limit on the smallest font size that can be substituted in the requested's place. |
|
strong |
Enumerates the units for font sizes.
Enumerator | |
---|---|
ObjectSpace |
Object space units ignoring any scaling components in modelling matrices. |
SubscreenRelative |
Fraction of the height of the outermost window. |
WindowRelative |
Fraction of the height of the local window. |
WorldSpace |
Object space units including any scaling components in modelling matrices and cameras. |
Points |
Points units typically used for text size. 1 point corresponds to 1/72 inch. |
Pixels |
Number of pixels. |
|
strong |
Enumerates the transform behaviors for text strings. These define how the entire string will be positioned within 3D space.
Enumerator | |
---|---|
Transformable |
Text will be subject to all modelling and projection matrices, essentially acting as a textured quad. Text paths will be act as transformations in 3D space. |
NonTransformable |
Only the text insertion point (see also Text::Alignment) will be subject to modelling and projection matrices. Text will always be drawn in screen space. Text paths will act as transformations in screen space. |
CharacterPositionOnly |
Text will be subject to all modelling and projection matrices, however characters will always be drawn in screen space. |
CharacterPositionAdjusted |
Equivalent to CharacterPositionOnly, but additionally will draw text upright when it would otherwise appear upside down based on the camera. To get this behavior Text::ReferenceFrame::PathAligned and Text::Rotation::FollowPath must be set, otherwise this will be equivalent to CharacterPositionOnly. |
The documentation for this class was generated from the following file:
- include/hps.h