Home | All Classes | Grouped Classes | Index | Search

# CL_Display::draw_line

Draw a line from (x1, y1) to (x2, y2) using the specified color.

    	void draw_line(
    		float x1, float y1, float x2, float y2, const CL_Color& color);

    	void draw_line(
    		const CL_Pointf& a, const CL_Pointf& b, const CL_Color& color);

See also:

CL_Color | CL_Display | CL_Point | CL_Pointf

Questions or comments, write to the ClanLib mailing list.