- void (*begin)(plotter_t *self, const rect_t *visible_area);
-
- void (*set_color)(plotter_t *self, const color_t * color);
- const color_t * (*get_color)(const plotter_t *self);
- void (*set_width)(plotter_t *self, int width);
- int (*get_width)(const plotter_t *self);
- void (*line)(plotter_t *self, int x1, int y1, int x2, int y2);
- void (*box)(plotter_t *self, const rect_t *rect);
- void (*text)(plotter_t *self, int x, int y, const char *str);
-
- void (*finish)(plotter_t *self);
- void (*free)(plotter_t *self);
+ void (*begin)(plotter_t *self, const rect_t *visible_area);
+
+ void (*set_color)(plotter_t *self, const color_t * color);
+ const color_t *(*get_color)(const plotter_t *self);
+ void (*set_width)(plotter_t *self, int width);
+ int (*get_width)(const plotter_t *self);
+ void (*line)(plotter_t *self, int x1, int y1, int x2, int y2);
+ void (*box)(plotter_t *self, const rect_t *rect);
+ void (*text)(plotter_t *self, int x, int y, const char *str);
+
+ void (*finish)(plotter_t *self);
+ void (*free)(plotter_t *self);