2023-03-31 19:11:10 +00:00
|
|
|
#pragma once
|
2016-03-17 13:48:19 +00:00
|
|
|
|
|
|
|
#include <glib.h>
|
2017-09-01 20:58:42 +00:00
|
|
|
#include <pango/pango.h>
|
2024-02-20 23:20:30 +00:00
|
|
|
#include <cairo.h>
|
2016-03-17 13:48:19 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2024-02-20 23:20:30 +00:00
|
|
|
void gsk_ensure_resources (void);
|
|
|
|
|
2024-03-12 03:34:43 +00:00
|
|
|
PangoFont *gsk_reload_font (PangoFont *font,
|
|
|
|
float scale,
|
|
|
|
cairo_hint_metrics_t hint_metrics,
|
|
|
|
cairo_hint_style_t hint_style,
|
|
|
|
cairo_antialias_t antialias);
|
2024-03-09 13:45:46 +00:00
|
|
|
|
|
|
|
void gsk_get_unhinted_glyph_string_extents (PangoGlyphString *glyphs,
|
|
|
|
PangoFont *font,
|
|
|
|
PangoRectangle *ink_rect);
|
2024-02-20 23:20:30 +00:00
|
|
|
|
2024-03-03 02:14:42 +00:00
|
|
|
cairo_hint_style_t gsk_font_get_hint_style (PangoFont *font);
|
|
|
|
|
2016-03-17 13:48:19 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|