DescriptionReturn AffineTransform from SVGTextFragment::buildFragmentTransform
Instead of passing an AffineTransform as an out-parameter, just return
it instead. Since we always copy the resulting transform into the
out-parameter anyway, there should be no loss of efficiency.
This also enables some of the users to be written in a more compact
way.
Also add boundingBox(), boundingQuad() and overflowBoundingBox()
helpers to SVGTextFragment and use where possible.
BUG=571415
Committed: https://crrev.com/c9cbd28cd596618f61dc47b897aee61382004e28
Cr-Commit-Position: refs/heads/master@{#366713}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|