#include "math/vector.hpp"
-class Rect;
+class Rectf;
enum AnchorPoint {
ANCHOR_H_MASK = 0x00f0,
std::string anchor_point_to_string(AnchorPoint point);
AnchorPoint string_to_anchor_point(const std::string& str);
-Vector get_anchor_pos(const Rect& rect, AnchorPoint point);
-Vector get_anchor_pos(const Rect& destrect, float width, float height,
+Vector get_anchor_pos(const Rectf& rect, AnchorPoint point);
+Vector get_anchor_pos(const Rectf& destrect, float width, float height,
AnchorPoint point);
#endif