24 #ifndef GF_BASIC_TEXT_H    25 #define GF_BASIC_TEXT_H    29 #include "Alignment.h"    30 #include "GraphicsApi.h"    32 #include "VertexArray.h"    35 #ifndef DOXYGEN_SHOULD_SKIP_THIS    66     BasicText(std::string 
string, 
Font& font, 
unsigned characterSize = 30);
    78     void setString(std::string 
string);
   102     void setCharacterSize(
unsigned characterSize);
   112       return m_characterSize;
   129     void setFont(
Font& font);
   157     void setOutlineThickness(
float thickness);
   167       return m_outlineThickness;
   182     void setLineSpacing(
float spacingFactor);
   192       return m_lineSpacingFactor;
   211     void setLetterSpacing(
float spacingFactor);
   221       return m_letterSpacingFactor;
   232     void setParagraphWidth(
float paragraphWidth);
   241       return m_paragraphWidth;
   282     std::string m_string;
   285     unsigned m_characterSize;
   286     float m_outlineThickness;
   287     float m_lineSpacingFactor;
   288     float m_letterSpacingFactor;
   290     float m_paragraphWidth;
   296 #ifndef DOXYGEN_SHOULD_SKIP_THIS   301 #endif // GF_BASIC_TEXT_H float getLetterSpacing() const
Get the size of the letter spacing factor. 
Definition: BasicText.h:220
A set of primitives. 
Definition: VertexArray.h:65
const std::string & getString() const
Get the text's string. 
Definition: BasicText.h:89
A basic text. 
Definition: BasicText.h:50
RectF getLocalBounds() const
Get the local bounding rectangle of the entity. 
Definition: BasicText.h:275
float getLineSpacing() const
Get the size of the line spacing factor. 
Definition: BasicText.h:191
float getOutlineThickness()
Get the outline thickness of the text. 
Definition: BasicText.h:166
unsigned getCharacterSize() const
Get the character size. 
Definition: BasicText.h:111
const Font * getFont() const
Get the text's font. 
Definition: BasicText.h:142
Alignment getAlignment() const
Get the alignment of the text. 
Definition: BasicText.h:260
Alignment
The alignement of a text. 
Definition: Alignment.h:33
The namespace for gf classes. 
Definition: Action.h:35
A character font. 
Definition: Font.h:109
A texture with a single alpha channel. 
Definition: Texture.h:395
float getParagraphWidth() const
Get the paragraph width. 
Definition: BasicText.h:240