[bezierTools] Add link to algorithm

https://github.com/fonttools/fonttools/issues/3055
This commit is contained in:
Behdad Esfahbod 2023-03-21 13:30:30 -06:00
parent f1c609aa57
commit 14a767719b

View File

@ -214,7 +214,7 @@ def calcQuadraticArcLengthC(pt1, pt2, pt3):
Arc length value.
"""
# Analytical solution to the length of a quadratic bezier.
# I'll explain how I arrived at this later.
# Documentation: https://github.com/fonttools/fonttools/issues/3055
d0 = pt2 - pt1
d1 = pt3 - pt2
d = d1 - d0