mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
c4f33f36de
Add a function to change the size of a font while keeping everything else the same. We use pango api for this if available.
15 lines
233 B
C
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
|
|
|