diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-06 23:44:26 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-29 17:32:00 +0800 |
commit | ce097c062ea079bf7888d2b2f1f7b17d34f976b6 (patch) | |
tree | 7727f8b7d82acd0c4e2f09ef911bbb4bc8805a11 /pango/pango-matrix.h | |
parent | 57964efb280369db2731bfc070f3e73c9a860d18 (diff) | |
download | pango-ce097c062ea079bf7888d2b2f1f7b17d34f976b6.tar.gz |
Decorate the symbols in the headers with version macros
From the last commit, decorate all the symbols with the version
macros. Also add the version macros in the docs.
https://bugzilla.gnome.org/show_bug.cgi?id=767587
Diffstat (limited to 'pango/pango-matrix.h')
-rw-r--r-- | pango/pango-matrix.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pango/pango-matrix.h b/pango/pango-matrix.h index 85c4b1d6..9ec37042 100644 --- a/pango/pango-matrix.h +++ b/pango/pango-matrix.h @@ -84,32 +84,45 @@ struct _PangoMatrix /* for PangoRectangle */ #include <pango/pango-types.h> +PANGO_AVAILABLE_IN_1_6 GType pango_matrix_get_type (void) G_GNUC_CONST; +PANGO_AVAILABLE_IN_1_6 PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix); +PANGO_AVAILABLE_IN_1_6 void pango_matrix_free (PangoMatrix *matrix); +PANGO_AVAILABLE_IN_1_6 void pango_matrix_translate (PangoMatrix *matrix, double tx, double ty); +PANGO_AVAILABLE_IN_1_6 void pango_matrix_scale (PangoMatrix *matrix, double scale_x, double scale_y); +PANGO_AVAILABLE_IN_1_6 void pango_matrix_rotate (PangoMatrix *matrix, double degrees); +PANGO_AVAILABLE_IN_1_6 void pango_matrix_concat (PangoMatrix *matrix, const PangoMatrix *new_matrix); +PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_point (const PangoMatrix *matrix, double *x, double *y); +PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_distance (const PangoMatrix *matrix, double *dx, double *dy); +PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_rectangle (const PangoMatrix *matrix, PangoRectangle *rect); +PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix, PangoRectangle *rect); +PANGO_AVAILABLE_IN_1_12 double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) G_GNUC_PURE; +PANGO_AVAILABLE_IN_1_38 void pango_matrix_get_font_scale_factors (const PangoMatrix *matrix, double *xscale, double *yscale); |