|
|
| static void | point (CL_GraphicContext &gc, float x1, float y1, const CL_Colorf &color) |
| | Draw a point. More...
|
| |
| static void | point (CL_GraphicContext &gc, const CL_Pointf &point, const CL_Colorf &color) |
| | Point. More...
|
| |
| static void | line (CL_GraphicContext &gc, float x1, float y1, float x2, float y2, const CL_Colorf &color) |
| | Draw a line. More...
|
| |
| static void | line (CL_GraphicContext &gc, const CL_Pointf &start, const CL_Pointf &end, const CL_Colorf &color) |
| | Line. More...
|
| |
| static void | line (CL_GraphicContext &gc, const CL_LineSegment2f &line_segment, const CL_Colorf &color) |
| | Line. More...
|
| |
| static void | box (CL_GraphicContext &gc, float x1, float y1, float x2, float y2, const CL_Colorf &color) |
| | Draw a box / rectangle. More...
|
| |
| static void | box (CL_GraphicContext &gc, const CL_Pointf &start, const CL_Pointf &end, const CL_Colorf &color) |
| | Box. More...
|
| |
| static void | box (CL_GraphicContext &gc, const CL_Rectf &rect, const CL_Colorf &color) |
| | Box. More...
|
| |
| static void | fill (CL_GraphicContext &gc, float x1, float y1, float x2, float y2, const CL_Colorf &color) |
| | Draw a filled box / rectangle. More...
|
| |
| static void | fill (CL_GraphicContext &gc, const CL_Pointf &start, const CL_Pointf &end, const CL_Colorf &color) |
| | Fill. More...
|
| |
| static void | fill (CL_GraphicContext &gc, const CL_Rectf &rect, const CL_Colorf &color) |
| | Fill. More...
|
| |
| static void | texture (CL_GraphicContext &gc, const CL_Rectf &rect, const CL_Colorf &color=CL_Colorf::white, const CL_Rectf &texture_unit1_coords=CL_Rectf(0.0, 0.0, 1.0, 1.0)) |
| | Draw a textured rectangle with the selected texture at unit 0. More...
|
| |
| static void | texture (CL_GraphicContext &gc, const CL_Texture &texture, const CL_Quadf &quad, const CL_Colorf &color=CL_Colorf::white, const CL_Rectf &texture_unit1_coords=CL_Rectf(0.0, 0.0, 1.0, 1.0)) |
| | Draw a textured rectangle. More...
|
| |
| static void | gradient_fill (CL_GraphicContext &gc, float x1, float y1, float x2, float y2, const CL_Gradient &color) |
| | Gradient fill. More...
|
| |
| static void | gradient_fill (CL_GraphicContext &gc, const CL_Pointf &start, const CL_Pointf &end, const CL_Gradient &gradient) |
| | Gradient fill. More...
|
| |
| static void | gradient_fill (CL_GraphicContext &gc, const CL_Rectf &rect, const CL_Gradient &gradient) |
| | Gradient fill. More...
|
| |
| static void | circle (CL_GraphicContext &gc, float center_x, float center_y, float radius, const CL_Colorf &color) |
| | Draw a circle. More...
|
| |
| static void | circle (CL_GraphicContext &gc, const CL_Pointf ¢er, float radius, const CL_Colorf &color) |
| | Circle. More...
|
| |
| static void | gradient_circle (CL_GraphicContext &gc, const CL_Pointf ¢er, float radius, const CL_Gradient &gradient) |
| | Gradient circle. More...
|
| |
| static void | gradient_circle (CL_GraphicContext &gc, const CL_Pointf ¢er, const CL_Pointf ¢ergradient, float radius, const CL_Gradient &gradient) |
| | Gradient circle. More...
|
| |
| static void | triangle (CL_GraphicContext &gc, const CL_Pointf &a, const CL_Pointf &b, const CL_Pointf &c, const CL_Colorf &color) |
| | Draw a triangle. More...
|
| |
| static void | triangle (CL_GraphicContext &gc, const CL_Trianglef &dest_triangle, const CL_Colorf &color) |
| | Draw a triangle. More...
|
| |
Primitives drawing class.