fw4spl
|
This class manages an axis on the scene2D. More...
#include <Axis.hpp>
Public Types | |
enum | ScaleType { LINEAR, LOG } |
typedef std::shared_ptr< Axis > | sptr |
Public Member Functions | |
Axis () | |
Constructor, set origin to 0, scale to 1 and type to LINEAR. | |
float | getOrigin () const |
Get m_origin attribute. | |
void | setOrigin (float origin) |
Set m_origin attribute. | |
float | getScale () const |
Get m_scale attribute. | |
void | setScale (float scale) |
Set m_scale attribute. | |
ScaleType | getScaleType () const |
Get m_scaleType attribute. | |
void | setScaleType (ScaleType scaleType) |
Set m_scaleType attribute. | |