mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
15 lines
427 B
C
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
|