24 #ifndef GF_TRANSFORMABLE_H    25 #define GF_TRANSFORMABLE_H    30 #include "Portability.h"    35 #ifndef DOXYGEN_SHOULD_SKIP_THIS   150     void setPosition(
Vector2f position);
   193     void setRotation(
float angle);
   252       setScale({ factor, factor });
   298       scale({ factor, factor });
   324     Matrix3f getInverseTransform() 
const;
   336     void setOriginFromAnchorAndBounds(
Anchor anchor, 
const RectF& bounds);
   345 #ifndef DOXYGEN_SHOULD_SKIP_THIS   350 #endif // GF_TRANSFORMABLE_H 
void scale(Matrix3f &mat, Vector2f factor)
Combine the current transform with a scaling. 
 
Abstract base class for objects that can be drawn to a render window. 
Definition: Drawable.h:57
 
The namespace for gf classes. 
Definition: Action.h:35
 
float angle(Direction direction)
Get an angle from a direction. 
 
void rotate(Matrix3f &mat, float angle)
Combine the current transform with a rotation. 
 
Anchor
An anchor of a box. 
Definition: Anchor.h:38