1 #ifndef CAIRO_TEXT_HELPERS_H
2 #define CAIRO_TEXT_HELPERS_H
6 void draw_centered_text(cairo_t *cr, const char *font, double x, double y,
7 double fontsize, const char *text);
9 void draw_right_justified_text(cairo_t *cr, const char *font,
11 double fontsize, const char *text);
13 void draw_left_justified_text(cairo_t *cr, const char *font,
15 double fontsize, const char *text);
17 void draw_vertical_centered_text(cairo_t *cr, const char *font, double x,
18 double y, double fontsize,