client: use temp buffer for single output flush for json/disk util
[fio.git] / cairo_text_helpers.h
CommitLineData
ee2f55b2
SC
1#ifndef CAIRO_TEXT_HELPERS_H
2#define CAIRO_TEXT_HELPERS_H
3
4void draw_centered_text(cairo_t *cr, const char *font, double x, double y,
5 double fontsize, const char *text);
6
7void draw_right_justified_text(cairo_t *cr, const char *font,
8 double x, double y,
9 double fontsize, const char *text);
10
11void draw_left_justified_text(cairo_t *cr, const char *font,
12 double x, double y,
13 double fontsize, const char *text);
14
3c3ed070 15void draw_vertical_centered_text(cairo_t *cr, const char *font, double x,
ee2f55b2
SC
16 double y, double fontsize,
17 const char *text);
18#endif