CL_Display::fill_rect - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Display::fill_rect

Draw a gradient rectangle using the specified gradient. Draw a filled rectangle using the specified color.

    	void fill_rect(
    		const CL_Rectf& rect, const CL_Gradient& gradient);

    	void fill_rect(
    		const CL_Rectf& rect, const CL_Color& color);

See also:

CL_Rect | CL_Rectf | CL_Gradient | CL_Display | CL_Color

Questions or comments, write to the ClanLib mailing list.