FormattedRenderedString implementation that renders the RenderedString with centred formatting. More...
Public Member Functions | |
CentredRenderedString (const RenderedString &string) | |
Constructor. | |
void | format (const Size &area_size) |
void | draw (GeometryBuffer &buffer, const Vector2 &position, const ColourRect *mod_colours, const Rect *clip_rect) const |
size_t | getFormattedLineCount () const |
float | getHorizontalExtent () const |
float | getVerticalExtent () const |
Protected Attributes | |
std::vector< float > | d_offsets |
FormattedRenderedString implementation that renders the RenderedString with centred formatting.