concrete implementation of the shape that will allow layouting inside a rectangular with a certain width
More...
|
| RectangleShape_c (int32_t width) |
| construct the shape such that the area goes from 0 to width on the x-axis More...
|
|
virtual int32_t | getLeft (int32_t, int32_t) const |
| get the left edge More...
|
|
virtual int32_t | getLeft2 (int32_t, int32_t) const |
| get the left edge More...
|
|
virtual int32_t | getRight (int32_t, int32_t) const |
| get the right edge More...
|
|
virtual int32_t | getRight2 (int32_t, int32_t) const |
| get the right edge More...
|
|
concrete implementation of the shape that will allow layouting inside a rectangular with a certain width
STLL::RectangleShape_c::RectangleShape_c |
( |
int32_t |
width | ) |
|
|
inline |
construct the shape such that the area goes from 0 to width on the x-axis
- Parameters
-
width | width of the rectangle in 1/64th pixels |
virtual int32_t STLL::RectangleShape_c::getLeft |
( |
int32_t |
top, |
|
|
int32_t |
bottom |
|
) |
| const |
|
inlinevirtual |
get the left edge
- Parameters
-
top | top limit of the area to get the edge for |
bottom | bottom limit |
- Returns
- the left edge usable for this section of the y-axis in 1/64th pixels
Implements STLL::Shape_c.
virtual int32_t STLL::RectangleShape_c::getLeft2 |
( |
int32_t |
top, |
|
|
int32_t |
bottom |
|
) |
| const |
|
inlinevirtual |
get the left edge
- Parameters
-
top | top limit of the area to get the edge for |
bottom | bottom limit |
- Returns
- the left outer edge for this section of the y-axis in 1/64th pixels
Implements STLL::Shape_c.
virtual int32_t STLL::RectangleShape_c::getRight |
( |
int32_t |
top, |
|
|
int32_t |
bottom |
|
) |
| const |
|
inlinevirtual |
get the right edge
- Parameters
-
top | top limit of the area to get the edge for |
bottom | bottom limit |
- Returns
- the right edge usable for this section of the y-axis in 1/64th pixels
Implements STLL::Shape_c.
virtual int32_t STLL::RectangleShape_c::getRight2 |
( |
int32_t |
top, |
|
|
int32_t |
bottom |
|
) |
| const |
|
inlinevirtual |
get the right edge
- Parameters
-
top | top limit of the area to get the edge for |
bottom | bottom limit |
- Returns
- the right outer edge for this section of the y-axis in 1/64th pixels
Implements STLL::Shape_c.
The documentation for this class was generated from the following file: