From b88ca81814059c71c0361d741c70b71b652240b7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 31 Dec 2022 12:51:28 -0700 Subject: [PATCH] [paint-extents] Minor reorder --- src/hb-paint-extents.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hb-paint-extents.hh b/src/hb-paint-extents.hh index 47ccce191..c401205f5 100644 --- a/src/hb-paint-extents.hh +++ b/src/hb-paint-extents.hh @@ -205,9 +205,9 @@ struct hb_paint_extents_context_t { hb_paint_extents_context_t () { + transforms.push (hb_transform_t{}); clips.push (hb_bounds_t{hb_bounds_t::UNBOUNDED}); groups.push (hb_bounds_t{hb_bounds_t::EMPTY}); - transforms.push (hb_transform_t{}); } hb_extents_t get_extents () @@ -287,9 +287,10 @@ struct hb_paint_extents_context_t { group.union_ (clip); } + protected: + hb_vector_t transforms; hb_vector_t clips; hb_vector_t groups; - hb_vector_t transforms; }; HB_INTERNAL hb_paint_funcs_t *