blob: 014001ad2f65fde81a0dc01cffb9f4d101367d8f [file] [log] [blame]
#ifndef CAIRO_TEXT_HELPERS_H
#define CAIRO_TEXT_HELPERS_H
void draw_centered_text(cairo_t *cr, const char *font, double x, double y,
double fontsize, const char *text);
void draw_right_justified_text(cairo_t *cr, const char *font,
double x, double y,
double fontsize, const char *text);
void draw_left_justified_text(cairo_t *cr, const char *font,
double x, double y,
double fontsize, const char *text);
void draw_vertical_centered_text(cairo_t *cr, const char *font, double x,
double y, double fontsize,
const char *text);
#endif