aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkPaintFilterCanvas.cpp
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@google.com>2017-12-06 20:07:51 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-06 20:07:56 +0000
commit51041378442546711af0f5c767c8bac5a4fd757d (patch)
treedd501982fa1da17d444f3aae5a592a45656d486c /src/utils/SkPaintFilterCanvas.cpp
parent0554d497f80997658b5d0417897af4b818aae958 (diff)
Revert "keep SVG arcs axis aligned"
This reverts commit c3823848483eba33c3fa36187de7713e87651c1c. Reason for revert: need to add legacy flag to chrome first Original change's description: > keep SVG arcs axis aligned > > Computing the arc width introduces rounding errors that cause the > arc to exceed 1/4 circle and cause integer anchored arcs to start > outside their marks. A round rect may lose convexity as a result. > > Check if arcTo() inputs are integers and arc is 90 degrees; > if so, output conics which are axis-aligned on integers as well. > > This is triggered when using SVG to represent a round rect. > > Possible future enhancements are recorded in bug.skia.org/7383 > > R=​reed@google.com,djsollen@google.com > Change-Id: I6609456fcefabcda6c9560a044533ecb5cda2d31 > Reviewed-on: https://skia-review.googlesource.com/79423 > Reviewed-by: Derek Sollenberger <djsollen@google.com> > Commit-Queue: Derek Sollenberger <djsollen@google.com> TBR=djsollen@google.com,caryclark@google.com,reed@google.com,caryclark@skia.org Change-Id: Ia503ea62def15322df2b11da30d377a9543d6999 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/81281 Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Cary Clark <caryclark@google.com>
Diffstat (limited to 'src/utils/SkPaintFilterCanvas.cpp')
0 files changed, 0 insertions, 0 deletions