diff options
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); |