Public Member Functions | Protected Attributes

CEGUI::JustifiedRenderedString Class Reference

FormattedRenderedString implementation that renders the RenderedString with justified formatting. More...

Inheritance diagram for CEGUI::JustifiedRenderedString:
Collaboration diagram for CEGUI::JustifiedRenderedString:

List of all members.

Public Member Functions

 JustifiedRenderedString (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_spaceExtras
 space extra size for each line to achieve justified formatting.

Detailed Description

FormattedRenderedString implementation that renders the RenderedString with justified formatting.