aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-03-16 10:38:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-16 10:38:07 -0700
commitffa901aa7e360ed5115a0955221f4c2d2632d418 (patch)
treefaba54d676b912741321146dd649930ebd69e85d /src/codec
parente7903c7397c694e343c2c0fcc5cabea351212f23 (diff)
DM: allow SKPs to be smaller than 1000x1000
This sniffs the .skp dimensions and intersects them with our 1000x1000 viewport. This fixes things like desk_carsvg.skp, which is only 902 pixels tall. In 565 now, the remaining 98 pixels draw as black, which looks funny and is confusing to triage. No apparent affect on DM memory usage. (We're about to map the file anyway.) BUG=skia: Review URL: https://codereview.chromium.org/986103002
Diffstat (limited to 'src/codec')
0 files changed, 0 insertions, 0 deletions