[hvgl] Rename a method

This commit is contained in:
Behdad Esfahbod committed 2025-03-02 16:57:55 -07:00
1 parent ecc5800a0e
commit 4bced20619
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -324,8 +324,8 @@ void ExtremumColumnStarts::apply_to_coords (hb_array_t<float> out_coords,
}
void
PartComposite::apply_transforms (hb_array_t<hb_transform_t> transforms,
hb_array_t<const float> coords) const
PartComposite::apply_to_transforms (hb_array_t<hb_transform_t> transforms,
hb_array_t<const float> coords) const
{
const auto &allTranslations = StructAtOffset<AllTranslations> (this, allTranslationsOff4 * 4);
const auto &allRotations = StructAtOffset<AllRotations> (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))
{
+2 -2
View File
@@ -317,8 +317,8 @@ struct PartComposite
{
public:
HB_INTERNAL void apply_transforms (hb_array_t<hb_transform_t> transforms,
hb_array_t<const float> coords) const;
HB_INTERNAL void apply_to_transforms (hb_array_t<hb_transform_t> transforms,
hb_array_t<const float> coords) const;
unsigned get_total_num_axes () const
{ return totalNumAxes; }