cagebreak/pango.h
2023-02-02 10:41:24 +01:00

15 lines
427 B
C

// Copyright 2020 - 2023, project-repo and the cagebreak contributors
// SPDX-License-Identifier: MIT
#ifndef _SWAY_PANGO_H
#define _SWAY_PANGO_H
#include <cairo/cairo.h>
void
get_text_size(cairo_t *cairo, const char *font, int *width, int *height,
int *baseline, double scale, const char *fmt, ...);
void
pango_printf(cairo_t *cairo, const char *font, double scale, const char *fmt,
...);
#endif