22 #ifndef TETRAEDGE_TE_TE_TEXT_BASE2_H 23 #define TETRAEDGE_TE_TE_TEXT_BASE2_H 25 #include "common/str.h" 26 #include "common/hashmap.h" 28 #include "tetraedge/te/te_color.h" 29 #include "tetraedge/te/te_intrusive_ptr.h" 30 #include "tetraedge/te/te_i_font.h" 31 #include "tetraedge/te/te_mesh.h" 32 #include "tetraedge/te/te_vector2s32.h" 58 TeColor currentColor(uint offset)
const;
61 uint endOfWord(uint i)
const;
62 void insertNewLine(uint offset);
63 bool isASpace(uint offset)
const;
64 int newLines(uint offset)
const;
65 int nextNonSpaceChar(uint start);
66 void setAlignStyle(TeIFont::AlignStyle style);
67 void setColor(uint offset,
const TeColor &color);
69 void setFontSize(
int fontSz);
70 void setGlobalColor(
const TeColor &color);
71 void setInterLine(
float val);
74 void setWrapMode(WrapMode &mode);
76 void strikethrough(
bool val);
77 bool strikethrough()
const {
return _strikethrough; }
79 WrapMode wrapMode()
const {
return _wrapMode; }
83 void computeNbSpaces(
Line &line, uint startOffset, uint endOffset);
84 void drawEmptyChar(uint offset);
87 TeIFont::AlignStyle _alignStyle;
109 #endif // TETRAEDGE_TE_TE_TEXT_BASE2_H Definition: te_image.h:40
Definition: detection.h:27
Definition: te_text_base2.h:41
Definition: te_color.h:30
Definition: te_text_base2.h:36
Definition: te_intrusive_ptr.h:31
Definition: te_vector2s32.h:31