[bezierTools] Add link to algorithm
https://github.com/fonttools/fonttools/issues/3055
This commit is contained in:
parent
f1c609aa57
commit
14a767719b
@ -214,7 +214,7 @@ def calcQuadraticArcLengthC(pt1, pt2, pt3):
|
|||||||
Arc length value.
|
Arc length value.
|
||||||
"""
|
"""
|
||||||
# Analytical solution to the length of a quadratic bezier.
|
# 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
|
d0 = pt2 - pt1
|
||||||
d1 = pt3 - pt2
|
d1 = pt3 - pt2
|
||||||
d = d1 - d0
|
d = d1 - d0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user