17 #ifndef GZ_RENDERING_BASE_BASETEXT_HH_
18 #define GZ_RENDERING_BASE_BASETEXT_HH_
28 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
114 protected:
float charHeight = 1.0;
117 protected:
float spaceWidth = 0;
127 protected:
float baseline = 0;
131 protected:
bool onTop =
false;
134 protected:
bool textDirty =
false;
155 return this->fontName;
162 this->fontName = _font;
163 this->textDirty =
true;
178 this->textDirty =
true;
192 this->color = _color;
193 this->textDirty =
true;
200 return this->charHeight;
207 this->charHeight = _height;
208 this->textDirty =
true;
215 return this->spaceWidth;
222 this->spaceWidth = _width;
223 this->textDirty =
true;
230 return this->horizontalAlign;
237 return this->verticalAlign;
245 this->horizontalAlign = _hAlign;
246 this->verticalAlign = _vAlign;
247 this->textDirty =
true;
254 return this->baseline;
261 this->baseline = _baseline;
262 this->textDirty =
true;
276 this->onTop = _onTop;
277 this->textDirty =
true;