Go to file
Cary Clark c382384848 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>
2017-12-06 16:50:39 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench add benchType deserial to time deserializing pictures 2017-12-06 16:12:09 +00:00
bin bin/try: Add interactive mode 2017-10-18 17:16:16 +00:00
debugger Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
dm Reland "Hide SkEncodedInfo" 2017-12-05 19:28:08 +00:00
docs working on skimage 2017-12-01 17:13:39 +00:00
example Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
experimental Remove a huge pile of views code 2017-11-22 18:59:44 +00:00
fuzz Fuzz: RasterN32CanvasViaSerialization, 2017-12-01 17:56:26 +00:00
gm Add analytic clip FPs that read from the CCPR atlas 2017-12-05 18:06:18 +00:00
gn add serial procs to pictures 2017-12-05 20:33:18 +00:00
include add serial procs to pictures 2017-12-05 20:33:18 +00:00
infra Fix infra tests 2017-12-06 14:33:58 +00:00
platform_tools remove mips support and bots 2017-12-05 17:19:45 +00:00
resources Extract Android FontMgr part of Typeface test. 2017-11-13 17:00:31 +00:00
samplecode CCPR: Eliminate texel buffers 2017-12-05 21:12:48 +00:00
site remove mips support and bots 2017-12-05 17:19:45 +00:00
src keep SVG arcs axis aligned 2017-12-06 16:50:39 +00:00
tests keep SVG arcs axis aligned 2017-12-06 16:50:39 +00:00
third_party Reland "Hide SkEncodedInfo" 2017-12-05 19:28:08 +00:00
tools add serial procs to pictures 2017-12-05 20:33:18 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS fix use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn Move some bits from views to sk_app 2017-12-01 14:47:10 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll skia/third_party/externals/angle2/ f5be5bafa..12a18ad35 (10 commits) 2017-12-05 23:03:05 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Add in test_filter to build configuration 2017-10-16 11:09:49 +00:00
public.bzl Exclude tools/gpu/atlastext from public.bzl 2017-11-19 19:47:32 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Removed general bot upload permissions, whitespace change to test 2017-12-04 13:03:34 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.