#include <utextlayout.hpp>
Inheritance diagram for ufo::UTextLayout:
Public Member Functions | |
void | setFont (const UFont &font) |
UFont | getFont () const |
void | setText (const char *text, unsigned int length) |
const char * | getText () |
unsigned int | getLength () |
void | setMaximumSize (const UDimension &dim) |
UDimension | getPreferredSize (const UDimension &maxSize) |
void | render (UGraphics *g, const URectangle &rect, const UPoint &offset=UPoint()) |
URectangle | modelToView (int offset) |
int | viewToModel (const UPoint &pos) |
void | layout () |
int | getLineCount () |
UTextLine | getLine (int i) |
UTextLine | getLineForTextPosition (int i) |
Protected Member Functions | |
void | invalidate () |
|
|
|
|
|
Sets a pointer to the char array of the text. |
|
|