Functions |
void | drawLine (Target &target, int x1, int y1, int x2, int y2) |
void | drawBox (Target &target, int x1, int y1, int x2, int y2) |
void | fillBox (Target &target, int x1, int y1, int x2, int y2) |
void | drawCircle (Target &target, int x, int y, int r) |
void | fillCircle (Target &target, int x, int y, int r) |
void | drawEllipse (Target &target, int x, int y, int r_x, int r_y) |
void | fillEllipse (Target &target, int x, int y, int r_x, int r_y) |
void | drawPolygon (Target &target, polygon< T > const &poly) |
void | fillPolygon (Target &target, polygon< T > const &poly) |
Further, the Target interface must be stateful with respect to drawing modes and colors (i.e. these cannot be passed through these functions).