STLL  0.0
Simple Text Layouting Library
STLL::RectangleShape_c Class Reference

concrete implementation of the shape that will allow layouting inside a rectangular with a certain width More...

Inheritance diagram for STLL::RectangleShape_c:
STLL::Shape_c

Public Member Functions

 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...
 

Detailed Description

concrete implementation of the shape that will allow layouting inside a rectangular with a certain width

Constructor & Destructor Documentation

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
widthwidth of the rectangle in 1/64th pixels

Member Function Documentation

virtual int32_t STLL::RectangleShape_c::getLeft ( int32_t  top,
int32_t  bottom 
) const
inlinevirtual

get the left edge

Parameters
toptop limit of the area to get the edge for
bottombottom 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
toptop limit of the area to get the edge for
bottombottom 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
toptop limit of the area to get the edge for
bottombottom 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
toptop limit of the area to get the edge for
bottombottom 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: