DescriptionOptimize glyph positioning for SVG <textPath> layout
Introduce a new class Path::PositionCalculator, that keeps traversal
state related to path position/normal calculations, and allows
exploiting locality for such queries.
Using this new class for the layout of glyphs on a <textPath>. This
means it possible to achieve O(n) runtimes in many cases. The worst
case remains the same, O(n^2), as when using state-less queries.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166813
Patch Set 1 #Patch Set 2 : Add PLATFORM_EXPORT. #
Total comments: 2
Patch Set 3 : Use raw pointer for m_textPathCalculator. #
Total comments: 2
Patch Set 4 : This is why I used an OwnPtr... #
Messages
Total messages: 10 (0 generated)
|