gtk/gsk/gskprivate.h
Matthias Clasen c4f33f36de gsk: Add a way to get a scaled font
Add a function to change the size of a font while keeping everything
else the same. We use pango api for this if available.
2024-03-02 18:39:14 -05:00

15 lines
233 B
C

#pragma once
#include <glib.h>
#include <pango/pango.h>
G_BEGIN_DECLS
void gsk_ensure_resources (void);
PangoFont *gsk_get_scaled_font (PangoFont *font,
float scale);
G_END_DECLS