CL_Rectf::CL_Rectf - ClanLib Game SDK

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_Rect | CL_Sizef | CL_Size | CL_Rectf | CL_Pointf | CL_Point

Questions or comments, write to the ClanLib mailing list.