LibreOffice Module cppcanvas (master) 1
|
This class passes the view transformation to child sprites. More...
#include <implspritecanvas.hxx>
Public Member Functions | |
TransformationArbiter () | |
void | setTransformation (const ::basegfx::B2DHomMatrix &rViewTransform) |
const ::basegfx::B2DHomMatrix & | getTransformation () const |
Private Attributes | |
::basegfx::B2DHomMatrix | maTransformation |
This class passes the view transformation to child sprites.
This helper class is necessary, because the ImplSpriteCanvas object cannot hand out shared ptrs of itself, but has somehow pass an object to child sprites those can query for the canvas' view transform.
Definition at line 58 of file implspritecanvas.hxx.
cppcanvas::internal::ImplSpriteCanvas::TransformationArbiter::TransformationArbiter | ( | ) |
Definition at line 32 of file implspritecanvas.cxx.
|
inline |
Definition at line 64 of file implspritecanvas.hxx.
References maTransformation.
void cppcanvas::internal::ImplSpriteCanvas::TransformationArbiter::setTransformation | ( | const ::basegfx::B2DHomMatrix & | rViewTransform | ) |
Definition at line 37 of file implspritecanvas.cxx.
References maTransformation.
|
private |
Definition at line 67 of file implspritecanvas.hxx.
Referenced by getTransformation().