t/io_uring: only calculate per-file depth if we have files
[fio.git] / cairo_text_helpers.h
1 #ifndef CAIRO_TEXT_HELPERS_H
2 #define CAIRO_TEXT_HELPERS_H
3
4 #include <cairo.h>
5
6 void draw_centered_text(cairo_t *cr, const char *font, double x, double y,
7                                double fontsize, const char *text);
8
9 void draw_right_justified_text(cairo_t *cr, const char *font,
10                                 double x, double y,
11                                 double fontsize, const char *text);
12
13 void draw_left_justified_text(cairo_t *cr, const char *font,
14                                 double x, double y,
15                                 double fontsize, const char *text);
16
17 void draw_vertical_centered_text(cairo_t *cr, const char *font, double x,
18                                         double y, double fontsize,
19                                         const char *text);
20 #endif