示例#1
0
文件: rect.cpp 项目: Grumbel/netbrush
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);
}
示例#2
0
文件: rect.cpp 项目: Zenol/clanLib-3
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);
}