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