aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skp/page_sets
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-10-29 08:12:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-29 08:12:08 -0700
commitbf8dc343df4fbdcb8af546eb68b640e011a33489 (patch)
tree9aeb3fa4454ea36ae39102a88cffedad83c0efc5 /tools/skp/page_sets
parent6d5b5455743414ddb11d2b8c1fe9d7959f2b853d (diff)
Use SkTypeface::getBounds() in bounding-box calculations.
This should produce tighter conservative bounding boxes for text than the approximation code it replaces. Recording performance is neutral on my desktop. Playback performance improves by up to 15% on text heavy pages, e.g. desk_pokemonwiki.skp_1 3.24ms -> 2.83ms 0.87x desk_baidu.skp_1 1.91ms -> 1.58ms 0.83x Review URL: https://codereview.chromium.org/680363003
Diffstat (limited to 'tools/skp/page_sets')
0 files changed, 0 insertions, 0 deletions