Crazy Eddie's GUI System
0.8.4
|
FormattedRenderedString implementation that renders the RenderedString with centred formatting. More...
Public Member Functions | |
CentredRenderedString (const RenderedString &string) | |
Constructor. | |
void | format (const Window *ref_wnd, const Sizef &area_size) |
void | draw (const Window *ref_wnd, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect) const |
size_t | getFormattedLineCount () const |
float | getHorizontalExtent (const Window *ref_wnd) const |
float | getVerticalExtent (const Window *ref_wnd) const |
Protected Attributes | |
std::vector< float CEGUI_VECTOR_ALLOC(float)> | d_offsets |
FormattedRenderedString implementation that renders the RenderedString with centred formatting.