DescriptionIntroduce SVGPathQuery to hold SVG path query methods
Rename SVGPathTraversalStateBuilder.{cpp,h} to SVGPathQuery.{cpp,h}, and
similarly rename the class itself. Move the query methods in
SVGPathUtilities (getSVGPathSegAtLengthFromSVGPathByteStream,
getTotalLengthOfSVGPathByteStream, getPointAtLengthOfSVGPathByteStream)
to that class, shortening their names in the process.
Open-code the SVGPathParser driver to allow the general SVGPathConsumer
interface to be simplified - incrementPathSegmentCount and
continueConsuming are only used for path queries.
BUG=467592
Committed: https://crrev.com/97a8817d7e51850b1e40247490b91c6c484cc74a
Cr-Commit-Position: refs/heads/master@{#361351}
Patch Set 1 #Patch Set 2 : Const-qualify. #
Total comments: 2
Patch Set 3 : Merge consumedSegment with processSegment. #Patch Set 4 : Rebase. #Messages
Total messages: 12 (3 generated)
|