diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-01 08:54:01 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-01 09:18:38 -0400 |
commit | e36b5948678607fa33b2a8d05adfaa6ce8ee31a1 (patch) | |
tree | 2e7adc614e1d6edae0ea2915876df2b75d0d8179 /gsk | |
parent | 99a7a2188aaa0dddbaa968f0f80997d8906bef68 (diff) | |
download | gtk+-e36b5948678607fa33b2a8d05adfaa6ce8ee31a1.tar.gz |
Replace uses of graphene_matrix_transform_
Replace our uses of graphene_matrix_transform_point,
_point3d and _bounds by our own versions that handle
projective transforms correctly.
This fixes render node bounds being incorrect for widgets
involving projective transforms (e.g. testrevealer swing
transformations), and also fixes picking on such widgets.
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gsktransform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gsk/gsktransform.c b/gsk/gsktransform.c index feaec99187..337a27ed12 100644 --- a/gsk/gsktransform.c +++ b/gsk/gsktransform.c @@ -1822,7 +1822,7 @@ gsk_transform_transform_bounds (GskTransform *self, graphene_matrix_t mat; gsk_transform_to_matrix (self, &mat); - graphene_matrix_transform_bounds (&mat, rect, out_rect); + gsk_matrix_transform_bounds (&mat, rect, out_rect); } break; } @@ -1878,7 +1878,7 @@ gsk_transform_transform_point (GskTransform *self, graphene_matrix_t mat; gsk_transform_to_matrix (self, &mat); - graphene_matrix_transform_point (&mat, point, out_point); + gsk_matrix_transform_point (&mat, point, out_point); } break; } |