Home | All Classes | Grouped Classes | Index | Search

CL_Rectf::CL_Rectf

Constructs an rectangle.

	CL_Rectf();

	CL_Rectf(
		const CL_Rect& rect);

	CL_Rectf(
		float new_left, float new_top, float new_right, float new_bottom);

	CL_Rectf(
		const CL_Pointf& p, const CL_Sizef& size);

	CL_Rectf(
		const CL_Rectf& rect);

Parameters:

left
Initial left position of rectangle.
top
Initial top position of rectangle.
right
Initial right position of rectangle.
bottom
Initial bottom position of rectangle.
point
Initial top-left position of rectangle.
size
Initial size of rectangle.
rect
Initial rectangle position and size.

See also:

CL_Point | CL_Pointf | CL_Rect | CL_Rectf | CL_Size | CL_Sizef



Questions or comments, write to the ClanLib mailing list.