Text.hpp
Go to the documentation of this file.
virtual void setFont(std::string _fontName, int32_t _fontSize)
Specify the font property (this reset the internal element of the current text (system requirement) ...
Definition: TextBase.hpp:43
virtual void setFontSize(int32_t _fontSize)
Specify the font size (this reset the internal element of the current text (system requirement) ...
virtual void drawD(bool _disableDepthTest)
draw All the refistered text in the current element on openGL
Definition: Text.hpp:22
Definition: Area.hpp:16
virtual void printChar(const char32_t &_charcode)
display the current char in the current element (note that the kerning is availlable if the position ...
virtual void setFontMode(enum ewol::font::mode _mode)
Specify the font mode for the next print.
Definition: GlyphProperty.hpp:48
Text(const std::string &_fontName="", int32_t _fontSize=-1)
generic constructor
virtual vec3 calculateSizeChar(const char32_t &_charcode)
virtual void drawMT(const mat4 &_transformationMatrix, bool _enableDepthTest)
ememory::SharedPtr< ewol::resource::TexturedFont > m_font
Font resources.
Definition: Text.hpp:24
virtual void setFontName(const std::string &_fontName)
Specify the font name (this reset the internal element of the current text (system requirement) ...