aboutsummaryrefslogtreecommitdiff
path: root/include/client/pango.h
blob: 97c31e381739a067885e0ed6b48761d9af1eedc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _SWAY_CLIENT_PANGO_H
#define _SWAY_CLIENT_PANGO_H

#include <cairo/cairo.h>
#include <pango/pangocairo.h>
#include <stdarg.h>

PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text);
void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, const char *fmt, ...);
void pango_printf(cairo_t *cairo, const char *font, const char *fmt, ...);

#endif