https://github.com/swaywm/sway.git
Raw File
Tip revision: 725582c2f1fdb4aed7175f313274fbac605420d6 authored by Drew DeVault on 26 December 2016, 16:06:20 UTC
Merge pull request #1014 from cyphar/swaylock-fix-focus
Tip revision: 725582c
pango.h
#ifndef _SWAY_CLIENT_PANGO_H
#define _SWAY_CLIENT_PANGO_H

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

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

#endif
back to top