From 4bced20619f9fffd75e9f1bffad2df69339e7630 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 28 Jan 2025 03:06:00 -0500 Subject: [PATCH] [hvgl] Rename a method --- src/hb-aat-var-hvgl-table.cc | 6 +++--- src/hb-aat-var-hvgl-table.hh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hb-aat-var-hvgl-table.cc b/src/hb-aat-var-hvgl-table.cc index c4d54c20e..6aa2dcf02 100644 --- a/src/hb-aat-var-hvgl-table.cc +++ b/src/hb-aat-var-hvgl-table.cc @@ -324,8 +324,8 @@ void ExtremumColumnStarts::apply_to_coords (hb_array_t out_coords, } void -PartComposite::apply_transforms (hb_array_t transforms, - hb_array_t coords) const +PartComposite::apply_to_transforms (hb_array_t transforms, + hb_array_t coords) const { const auto &allTranslations = StructAtOffset (this, allTranslationsOff4 * 4); const auto &allRotations = StructAtOffset (this, allRotationsOff4 * 4); @@ -464,7 +464,7 @@ PartComposite::get_path_at (const struct hvgl &hvgl, auto transforms_head = transforms[0]; auto transforms_tail = transforms.sub_array (1); - apply_transforms (transforms_tail, coords_head); + apply_to_transforms (transforms_tail, coords_head); for (const auto &subPart : subParts.as_array (subPartCount)) { diff --git a/src/hb-aat-var-hvgl-table.hh b/src/hb-aat-var-hvgl-table.hh index c4a9eca94..bc8601eb8 100644 --- a/src/hb-aat-var-hvgl-table.hh +++ b/src/hb-aat-var-hvgl-table.hh @@ -317,8 +317,8 @@ struct PartComposite { public: - HB_INTERNAL void apply_transforms (hb_array_t transforms, - hb_array_t coords) const; + HB_INTERNAL void apply_to_transforms (hb_array_t transforms, + hb_array_t coords) const; unsigned get_total_num_axes () const { return totalNumAxes; }