docs: update for new data placement options
[fio.git] / cairo_text_helpers.h
CommitLineData
ee2f55b2
SC
1#ifndef CAIRO_TEXT_HELPERS_H
2#define CAIRO_TEXT_HELPERS_H
3
13229219
DP
4#include <cairo.h>
5
ee2f55b2
SC
6void draw_centered_text(cairo_t *cr, const char *font, double x, double y,
7 double fontsize, const char *text);
8
9void draw_right_justified_text(cairo_t *cr, const char *font,
10 double x, double y,
11 double fontsize, const char *text);
12
13void draw_left_justified_text(cairo_t *cr, const char *font,
14 double x, double y,
15 double fontsize, const char *text);
16
3c3ed070 17void draw_vertical_centered_text(cairo_t *cr, const char *font, double x,
ee2f55b2
SC
18 double y, double fontsize,
19 const char *text);
20#endif