summaryrefslogtreecommitdiff
path: root/pango/pango-font-private.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-24 12:19:42 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-24 19:57:58 -0500
commitc4fe95cc313bab3eac480425f822a0eeebf9b686 (patch)
tree8d40b53acdefe2aace5bd9164ec3c77cb0412852 /pango/pango-font-private.h
parent37d413cf58e1b317c3750ba940510cba7d6b1737 (diff)
downloadpango-c4fe95cc313bab3eac480425f822a0eeebf9b686.tar.gz
Add a way to get the font matrix
Add some private api for the serializer to get the font matrix. This is needed to let the serializer write a unique fingerprint for the font.
Diffstat (limited to 'pango/pango-font-private.h')
-rw-r--r--pango/pango-font-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-font-private.h b/pango/pango-font-private.h
index 93ce27aa..1e38371d 100644
--- a/pango/pango-font-private.h
+++ b/pango/pango-font-private.h
@@ -45,12 +45,17 @@ typedef struct {
gboolean (* has_char) (PangoFont *font,
gunichar wc);
PangoFontFace * (* get_face) (PangoFont *font);
+ void (* get_matrix) (PangoFont *font,
+ PangoMatrix *matrix);
} PangoFontClassPrivate;
gboolean pango_font_is_hinted (PangoFont *font);
void pango_font_get_scale_factors (PangoFont *font,
double *x_scale,
double *y_scale);
+void pango_font_get_matrix (PangoFont *font,
+ PangoMatrix *matrix);
+
G_END_DECLS