diff options
author | Benjamin Otte <otte@redhat.com> | 2019-03-01 06:24:33 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-03-04 23:15:06 +0100 |
commit | 4916280883f7850e17e025150be7c6ab25a8efc9 (patch) | |
tree | 827468dd6604547d3cf51f01995b50aec98c0ce4 /gsk/gsktransformprivate.h | |
parent | 0e1a50366a738389cce5d92b978ce0d07a5ab951 (diff) | |
download | gtk+-4916280883f7850e17e025150be7c6ab25a8efc9.tar.gz |
transform: Add more API
In particular, add a per-category querying API for the matrix:
- gsk_transform_to_translate()
- gsk_transform_to_affine()
- gsk_transform_to_2d()
- gsk_transform_to_matrix()
This way, code can use the relevant one for the given category.
Diffstat (limited to 'gsk/gsktransformprivate.h')
-rw-r--r-- | gsk/gsktransformprivate.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gsk/gsktransformprivate.h b/gsk/gsktransformprivate.h index 68eacaf786..0aba516f25 100644 --- a/gsk/gsktransformprivate.h +++ b/gsk/gsktransformprivate.h @@ -30,12 +30,6 @@ G_BEGIN_DECLS GskMatrixCategory gsk_transform_categorize (GskTransform *self); -gboolean gsk_transform_to_affine (GskTransform *self, - float *scale_x, - float *scale_y, - float *dx, - float *dy) G_GNUC_WARN_UNUSED_RESULT; - GskTransform * gsk_transform_matrix_with_category (GskTransform *next, const graphene_matrix_t*matrix, GskMatrixCategory category); |