mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 11:50:21 +00:00
1e5e977b37
Hide the temporary unhinted font object behind the private API. There might be a way to implement this without instantiating a font, at some point.
26 lines
744 B
C
26 lines
744 B
C
#pragma once
|
|
|
|
#include <glib.h>
|
|
#include <pango/pango.h>
|
|
#include <cairo.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_ensure_resources (void);
|
|
|
|
PangoFont *gsk_get_scaled_font (PangoFont *font,
|
|
float scale);
|
|
|
|
PangoFont *gsk_get_hinted_font (PangoFont *font,
|
|
cairo_hint_style_t hint_style,
|
|
cairo_antialias_t antialias);
|
|
|
|
void gsk_get_unhinted_glyph_string_extents (PangoGlyphString *glyphs,
|
|
PangoFont *font,
|
|
PangoRectangle *ink_rect);
|
|
|
|
cairo_hint_style_t gsk_font_get_hint_style (PangoFont *font);
|
|
|
|
G_END_DECLS
|
|
|