From ce097c062ea079bf7888d2b2f1f7b17d34f976b6 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 6 Jun 2016 23:44:26 +0800 Subject: 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 --- pango/pango-matrix.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'pango/pango-matrix.h') 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_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); -- cgit v1.2.1