Library | File

Class pfcTextStyle

# include <pfcBase.h>

class pfcTextStyle
 : public virtual xobject
{
    xdeclare(pfcTextStyle)
    ...
};
This is a COMPACT class.



Description

This class specifies the text attributes.



Method Summary

static pfcTextStyle_ptrCreate ()
Creates a new text style object.
xrealGetAngle ()
voidSetAngle (xreal value)
The angle of rotation of the whole text, in counterclockwise degrees.
xstringGetFontName ()
voidSetFontName (xrstring value)
The font name.
xrealGetHeight ()
voidSetHeight (xreal value)
The text height, in screen coordinates.
optional xboolGetIsMirrored ()
voidSetIsMirrored (optional xbool value)
If this is true, the text is mirrored. Otherwise, the text is not mirrored.
optional xboolGetIsUnderlined ()
voidSetIsUnderlined (optional xbool value)
If this is true, the text is underlined. Otherwise, the text is not underlined.
xrealGetSlantAngle ()
voidSetSlantAngle (xreal value)
The slant angle of the text, in clockwise degrees.
xrealGetThickness ()
voidSetThickness (xreal value)
The text thickness.
xrealGetWidthFactor ()
voidSetWidthFactor (xreal value)
The ratio of the width of each character (including the gap) as a proportion of the height.



Method Detail

xrealGetAngle ()
voidSetAngle (xreal value)

The angle of rotation of the whole text, in counterclockwise degrees.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




xstringGetFontName ()
voidSetFontName (xrstring value)

The font name.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




xrealGetHeight ()
voidSetHeight (xreal value)

The text height, in screen coordinates.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




xrealGetWidthFactor ()
voidSetWidthFactor (xreal value)

The ratio of the width of each character (including the gap) as a proportion of the height.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




xrealGetSlantAngle ()
voidSetSlantAngle (xreal value)

The slant angle of the text, in clockwise degrees.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




xrealGetThickness ()
voidSetThickness (xreal value)

The text thickness.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




optional xboolGetIsUnderlined ()
voidSetIsUnderlined (optional xbool value)

If this is true, the text is underlined. Otherwise, the text is not underlined.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




optional xboolGetIsMirrored ()
voidSetIsMirrored (optional xbool value)

If this is true, the text is mirrored. Otherwise, the text is not mirrored.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties




static pfcTextStyle_ptrCreate ()

Creates a new text style object.
Returns:
A pointer to the new object