1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-22 07:28:11 +01:00
sway-patched-tray-menu/include/client/pango.h
2016-03-30 00:47:58 +02:00

12 lines
402 B
C

#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