rllib
1
|
#include <rlsvganimator.h>
Classes | |
struct | rlPositionInit |
Public Member Functions | |
rlSvgPosition () | |
rlSvgPosition (float sx_init, float a_init, float x0_init, float y0_init, float cx_init, float cy_init) | |
virtual | ~rlSvgPosition () |
void | setInit (float x0_init, float y0_init, float w_init, float h_init) |
void | move (float x, float y) |
void | moveRelative (float dx, float dy) |
void | scale (float s) |
void | scaleRelative (float ds) |
void | rotate (float alpha, float cx, float cy) |
Public Attributes | |
float | sx |
float | alpha |
float | x0 |
float | y0 |
float | cx |
float | cy |
struct rlSvgPosition::rlPositionInit | init |
This class holds the position of an SVG object. Use it together with rlSvgAnimator::setMatrix()
Definition at line 27 of file rlsvganimator.h.
rlSvgPosition::rlSvgPosition | ( | ) |
Definition at line 52 of file rlsvganimator.cpp.
rlSvgPosition::rlSvgPosition | ( | float | sx_init, |
float | a_init, | ||
float | x0_init, | ||
float | y0_init, | ||
float | cx_init, | ||
float | cy_init | ||
) |
Definition at line 59 of file rlsvganimator.cpp.
|
virtual |
Definition at line 71 of file rlsvganimator.cpp.
void rlSvgPosition::move | ( | float | x, |
float | y | ||
) |
Definition at line 83 of file rlsvganimator.cpp.
void rlSvgPosition::moveRelative | ( | float | dx, |
float | dy | ||
) |
Definition at line 89 of file rlsvganimator.cpp.
void rlSvgPosition::rotate | ( | float | alpha, |
float | cx, | ||
float | cy | ||
) |
Definition at line 105 of file rlsvganimator.cpp.
void rlSvgPosition::scale | ( | float | s | ) |
Definition at line 95 of file rlsvganimator.cpp.
void rlSvgPosition::scaleRelative | ( | float | ds | ) |
Definition at line 100 of file rlsvganimator.cpp.
void rlSvgPosition::setInit | ( | float | x0_init, |
float | y0_init, | ||
float | w_init, | ||
float | h_init | ||
) |
Definition at line 75 of file rlsvganimator.cpp.
float rlSvgPosition::alpha |
Definition at line 33 of file rlsvganimator.h.
float rlSvgPosition::cx |
Definition at line 33 of file rlsvganimator.h.
float rlSvgPosition::cy |
Definition at line 33 of file rlsvganimator.h.
struct rlSvgPosition::rlPositionInit rlSvgPosition::init |
float rlSvgPosition::sx |
Definition at line 33 of file rlsvganimator.h.
float rlSvgPosition::x0 |
Definition at line 33 of file rlsvganimator.h.
float rlSvgPosition::y0 |
Definition at line 33 of file rlsvganimator.h.