diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-09-11 12:30:46 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-02 13:33:37 -0500 |
commit | 492df836ade5056e73f4779593ce31598ed77d85 (patch) | |
tree | a22e6c13b3b1c14568c306443323d51b63400231 /pango/pango-matrix.h | |
parent | fc46f12754e9035c71da2747be55361ddfcf7635 (diff) | |
download | pango-492df836ade5056e73f4779593ce31598ed77d85.tar.gz |
Add pango_matrix_get_slant_ratio
Add API to extract the slant ratio from a PangoMatrix.
Tests included.
Diffstat (limited to 'pango/pango-matrix.h')
-rw-r--r-- | pango/pango-matrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-matrix.h b/pango/pango-matrix.h index d4277401..cb53a422 100644 --- a/pango/pango-matrix.h +++ b/pango/pango-matrix.h @@ -121,6 +121,8 @@ double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) G_GNUC_PUR PANGO_AVAILABLE_IN_1_38 void pango_matrix_get_font_scale_factors (const PangoMatrix *matrix, double *xscale, double *yscale); +PANGO_AVAILABLE_IN_1_50 +double pango_matrix_get_slant_ratio (const PangoMatrix *matrix) G_GNUC_PURE; G_END_DECLS |