Files
gtk/demos/gtk-demo/fontvariations.h
Matthias Clasen 5c270a7b0e wip: Add a glyph paintable demo
This is using hb-cairo to draw a single
glyph from a hb_face_t, applying variations
and colors.
2023-01-21 20:05:12 -05:00

16 lines
453 B
C

#pragma once
#include <gtk/gtk.h>
#define FONT_VARIATIONS_TYPE (font_variations_get_type ())
#define FONT_VARIATIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FONT_VARIATIONS_TYPE, FontVariations))
typedef struct _FontVariations FontVariations;
typedef struct _FontVariationsClass FontVariationsClass;
GType font_variations_get_type (void);
GAction * font_variations_get_reset_action (FontVariations *self);