1 #ifndef CAIRO_TEXT_HELPERS_H
2 #define CAIRO_TEXT_HELPERS_H
3 
4 void draw_centered_text(cairo_t *cr, const char *font, double x, double y,
5 			       double fontsize, const char *text);
6 
7 void draw_right_justified_text(cairo_t *cr, const char *font,
8 				double x, double y,
9 				double fontsize, const char *text);
10 
11 void draw_left_justified_text(cairo_t *cr, const char *font,
12 				double x, double y,
13 				double fontsize, const char *text);
14 
15 void draw_vertical_centered_text(cairo_t *cr, const char *font, double x,
16 					double y, double fontsize,
17 					const char *text);
18 #endif
19