6 extern void repaint_dive(void);
7 extern void do_print(void);
10 * Cairo scaling really is horribly horribly mis-designed.
12 * Which is sad, because I really like Cairo otherwise. But
13 * the fact that the line width is scaled with the same scale
14 * as the coordinate system is a f*&%ing disaster. So we
15 * can't use it, and instead have this butt-ugly wrapper thing..
17 struct graphics_context {
25 extern void plot(struct graphics_context *gc, int w, int h, struct dive *dive);
26 extern void set_source_rgb(struct graphics_context *gc, double r, double g, double b);