mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 08:21:32 +01:00
[hvgl] Cosmetic
This commit is contained in:
1 parent
39483e8e74
commit
3bb4ee78c1
1 file changed
+1
-2
@@ -384,13 +384,12 @@ PartComposite::apply_to_transforms (hb_array_t<hb_transform_t<double>> transform
|
||||
hb_array_t<const double> coords) const
|
||||
{
|
||||
const auto &allTranslations = StructAtOffset<AllTranslations> (this, allTranslationsOff4 * 4);
|
||||
const auto &allRotations = StructAtOffset<AllRotations> (this, allRotationsOff4 * 4);
|
||||
|
||||
const auto &masterTranslationDelta = allTranslations.masterTranslationDelta;
|
||||
const auto &extremumTranslationDelta = StructAfter<decltype (allTranslations.extremumTranslationDeltaX)> (masterTranslationDelta, sparseMasterTranslationCount);
|
||||
const auto &extremumTranslationIndex = StructAfter<decltype (allTranslations.extremumTranslationIndexX)> (extremumTranslationDelta, sparseExtremumTranslationCount);
|
||||
const auto &masterTranslationIndex = StructAfter<decltype (allTranslations.masterTranslationIndexX)> (extremumTranslationIndex, sparseExtremumTranslationCount);
|
||||
|
||||
const auto &allRotations = StructAtOffset<AllRotations> (this, allRotationsOff4 * 4);
|
||||
const auto &masterRotationDelta = allRotations.masterRotationDelta;
|
||||
const auto &extremumRotationDelta = StructAfter<decltype (allRotations.extremumRotationDeltaX)> (masterRotationDelta, sparseMasterRotationCount);
|
||||
const auto &extremumRotationIndex = StructAfter<decltype (allRotations.extremumRotationIndexX)> (extremumRotationDelta, sparseExtremumRotationCount);
|
||||
|
||||
Reference in new issue
Block a user