STLL
0.0
Simple Text Layouting Library
|
base class to define the shape to layout text into More...
Public Member Functions | |
virtual int32_t | getLeft (int32_t top, int32_t bottom) const =0 |
get the left edge More... | |
virtual int32_t | getRight (int32_t top, int32_t bottom) const =0 |
get the right edge More... | |
virtual int32_t | getLeft2 (int32_t top, int32_t bottom) const =0 |
get the left edge More... | |
virtual int32_t | getRight2 (int32_t top, int32_t bottom) const =0 |
get the right edge More... | |
base class to define the shape to layout text into
The layouting works line-wise, this class will give the left and right edge of the available space for a line of text. As the line has a vertical size the functions in this class will get the top and bottom of the y-area that the line is supposed to be in. The function then need to check where the left and right edges are for this area, e.g. they must take care that they return the smallest area.
|
pure virtual |
get the left edge
top | top limit of the area to get the edge for |
bottom | bottom limit |
Implemented in STLL::RectangleShape_c.
|
pure virtual |
get the left edge
top | top limit of the area to get the edge for |
bottom | bottom limit |
Implemented in STLL::RectangleShape_c.
|
pure virtual |
get the right edge
top | top limit of the area to get the edge for |
bottom | bottom limit |
Implemented in STLL::RectangleShape_c.
|
pure virtual |
get the right edge
top | top limit of the area to get the edge for |
bottom | bottom limit |
Implemented in STLL::RectangleShape_c.