Textο
-
class
Text
ο The Text class is a concept class for text-related enum classes.
Public Types
-
enum class
Alignment
: uint32_tο Enumeration of the alignments used for text string. These define what the insertion point for a text string is measured with respect to.
Values:
-
enumerator
TopLeft
ο Insertion point is the top left corner of the text string.
-
enumerator
CenterLeft
ο Insertion point is the center of the left side of the text string.
-
enumerator
BottomLeft
ο Insertion point is the bottom left corner of the text string.
-
enumerator
TopCenter
ο Insertion point is the center of the top side of the text string.
-
enumerator
Center
ο Insertion point is the vertical and horizontal center of the text string.
-
enumerator
BottomCenter
ο Insertion point is the center of the bottom side of the text string.
-
enumerator
TopRight
ο Insertion point is the top right corner of the text string.
-
enumerator
CenterRight
ο Insertion point is the center of the right side of the text string.
-
enumerator
BottomRight
ο Insertion point is the bottom right corner of the text string.
-
enumerator
-
enum class
GreekingMode
: uint32_tο Enumerates the greeking modes. These define what to draw in place of characters once they fall below the greeking limit.
Values:
-
enumerator
Nothing
ο Nothing will be drawn for characters below the greeking limit.
-
enumerator
Lines
ο A grid of lines will be drawn in place of characters below the greeking limit.
-
enumerator
Box
ο A filled box will be drawn in place of characters below the greeking limit.
-
enumerator
-
enum class
GreekingUnits
: uint32_tο Enumerates the units for greeking limits.
Values:
-
enumerator
SubscreenRelative
ο Fraction of the height of the outermost window.
-
enumerator
WindowRelative
ο Fraction of the height of the local window.
-
enumerator
WorldSpace
ο Object space units including any scaling components in modelling matrices and cameras.
-
enumerator
Points
ο Points units typically used for text size. 1 point corresponds to 1/72 inch.
-
enumerator
Pixels
ο Number of pixels.
-
enumerator
-
enum class
Justification
: uint32_tο Enumerates the justifications used for multiline text strings.
Values:
-
enumerator
Left
ο Multiline strings will be left justified.
-
enumerator
Right
ο Multiline strings will be right justified.
-
enumerator
Center
ο Multiline strings will be center justified.
-
enumerator
-
enum class
LeaderLineSpace
: uint32_tο Enumerates the spaces in which leader lines can be defined.
Values:
-
enum class
MarginUnits
: uint32_tο Enumerates the units for background margins.
Values:
-
enumerator
SubscreenRelative
ο Fraction of the height of the outermost window.
-
enumerator
WindowRelative
ο Fraction of the height of the local window.
-
enumerator
WorldSpace
ο Object space units including any scaling components in modelling matrices and cameras.
-
enumerator
Points
ο Points units typically used for text size. 1 point corresponds to 1/72 inch.
-
enumerator
Pixels
ο Number of pixels.
-
enumerator
Percent
ο Percentage of the requested font height.
-
enumerator
-
enum class
Preference
: uint32_tο Enumerates the font type preferences for text strings. These define the types of fonts Visualize will use.
Values:
-
enumerator
Default
ο Use the default font type for the current driver.
-
enumerator
Vector
ο Use vector fonts.
-
enumerator
Raster
ο Use raster or bitmap fonts.
-
enumerator
Exterior
ο Use the font outline (characters will be unfilled).
-
enumerator
-
enum class
ReferenceFrame
: uint32_tο Enumeration of the reference frames for text alignment and justification.
Values:
-
enumerator
WorldAligned
ο Alignment and justification will be defined relative to a screen-facing box around the text.
-
enumerator
PathAligned
ο Alignment and justification will be defined relative to a text-path-aligned box around the text.
-
enumerator
-
enum class
RegionAlignment
: uint32_tο Enumerates the alignments for text regions. These define how text strings will be positioned relative to the line defining the text region.
Values:
-
enum class
RegionFitting
: uint32_tο Enumerates how text is arranged within a region.
Values:
-
enumerator
Spacing
ο Text will be stretched or squeezed to fill the region line and character width will not change (characters may overlap).
-
enumerator
-
enum class
Renderer
: uint32_tο Enumerates the renderers for text strings. These define the font-handling subsystems Visualize uses to find and render fonts.
Values:
-
enumerator
Default
ο All font-handling subsystems will be used.
-
enumerator
Driver
ο Only driver fonts will be used. If a non-driver font is requested, the stroked font will be used instead.
-
enumerator
Truetype
ο Only TrueType fonts will be used. If a non-TrueType font is requested, the stroked font will be used instead.
-
enumerator
-
enum class
Rotation
: uint32_tο Values:
-
enumerator
None
ο Characters are not rotated.
-
enumerator
Rotate
ο Characters are rotated clockwise by a specified angle.
-
enumerator
FollowPath
ο Characters are rotated such that they will be perpendicular to the text path.
-
enumerator
-
enum class
SizeToleranceUnits
: uint32_tο Enumerates the units for size tolerances.
Values:
-
enumerator
SubscreenRelative
ο Fraction of the height of the outermost window.
-
enumerator
WindowRelative
ο Fraction of the height of the local window.
-
enumerator
WorldSpace
ο Object space units including any scaling components in modelling matrices and cameras.
-
enumerator
Points
ο Points units typically used for text size. 1 point corresponds to 1/72 inch.
-
enumerator
Pixels
ο Number of pixels.
-
enumerator
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.
-
enumerator
-
enum class
SizeUnits
: uint32_tο Enumerates the units for font sizes.
Values:
-
enumerator
SubscreenRelative
ο Fraction of the height of the outermost window.
-
enumerator
WindowRelative
ο Fraction of the height of the local window.
-
enumerator
WorldSpace
ο Object space units including any scaling components in modelling matrices and cameras.
-
enumerator
Points
ο Points units typically used for text size. 1 point corresponds to 1/72 inch.
-
enumerator
Pixels
ο Number of pixels.
-
enumerator
-
enum class
Transform
: uint32_tο Enumerates the transform behaviors for text strings. These define how the entire string will be positioned within 3D space.
Values:
-
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.
-
enumerator
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.
-
enumerator
CharacterPositionOnly
ο Text will be subject to all modelling and projection matrices, however characters will always be drawn in screen space.
-
enumerator
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.
-
enumerator
-
enum class