DescriptionMinor optimization of SVG <textPath> layout
Path::pointAtLength and Path::normalAngleAtLength both call
Path::pointAndNormalAtLength to do the work.
SVGTextLayoutEngine::layoutTextOnLineOrPath call the two former, which
means it'll setup and process the path twice.
Change the two calls into one call to pointAndNormalAtLength to reduce
the work required.
BUG=135310
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165078
Patch Set 1 #Patch Set 2 : Reupload. #
Messages
Total messages: 6 (0 generated)
|