Rect Rect::get_rot_bounds(Origin origin, int x, int y, float angle) const { return get_rot_bounds( Point(left, top) + calc_origin(origin, get_size()) + Point(x, y), angle); }
Rectx<Type> Rectx<Type>::get_rot_bounds(Origin origin, Type x, Type y, const Angle &angle) const { return get_rot_bounds( Vec2<Type>(left, top) + Vec2<Type>::calc_origin(origin, get_size()) + Vec2<Type>(x, y), angle); }