Home | All Classes | Grouped Classes | Index | Search

CL_Rectf::get_rot_bounds

Returns another CL_Rectf containing a rotated version of this one.

	CL_Rectf get_rot_bounds(
		const CL_Pointf& hotspot, float angle);

	CL_Rectf get_rot_bounds(
		CL_Origin origin, float x, float y, float angle);

Parameters:

hotspot
Point to rotate around.
origin
Determines the hotspot point within the rectangle
x, y
Offsets applied negatively to the hotspot point
angle
Angle to rotate in degrees.

See also:

CL_Point | CL_Pointf | CL_Rect | CL_Rectf



Questions or comments, write to the ClanLib mailing list.