Go to file
Cary Clark c8323aa51a tiny concave path point fix
The tiny path added to PathTest.cpp has
tinier cross products (e.g. 1e-12)
so appears to be a series of unbending
lines as far as getConvexity is concerned.

This point fix looks for paths that
do not bend left or right or go backwards,
but do have a bounds, and calls them
concave.

A better fix may be to consider empty
and degenerate paths to be concave
instead of convex; I don't know if
anyone relies on the existing behavior.

Another better fix may be to change
the math to compute the path turns
even though the numbers are very small;
on the surface, very difficult.

R=bsalomon@google.com,reed@google.com
Bug:755839
Change-Id: Ie2280f3f0b95fecab2899f5fc579fd39258e0647
Reviewed-on: https://skia-review.googlesource.com/38720
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>
2017-08-25 14:40:47 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Threaded generation of software paths" 2017-08-24 21:34:38 +00:00
bin add a Win/Clang build bot 2017-07-31 19:53:51 +00:00
debugger Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
dm Revert "Threaded generation of software paths" 2017-08-24 21:34:38 +00:00
docs update canvas doc, primarily readpixels and writepixels 2017-08-24 18:00:33 +00:00
example Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
experimental Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
fuzz Switch SkSL to std::string 2017-08-14 21:24:55 +00:00
gm Fix artifacts on tiny stroked paths scaled up a lot. 2017-08-23 13:54:25 +00:00
gn Revert "Revert "Revert "Add GrTextureOp and use to implement SkGpuDevice::drawImage[Rect]() when possible""" 2017-08-22 21:36:40 +00:00
include Remove SkIsS16 and SkIsU16. 2017-08-25 14:09:57 +00:00
infra Revert "Threaded generation of software paths" 2017-08-24 21:34:38 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Move lang to list in Android font manager. 2017-08-14 19:29:05 +00:00
samplecode Make Copy Ops to go through GpuCommandBuffer instead of straigt to GPU. 2017-08-24 20:18:27 +00:00
site update canvas doc, primarily readpixels and writepixels 2017-08-24 18:00:33 +00:00
src tiny concave path point fix 2017-08-25 14:40:47 +00:00
tests tiny concave path point fix 2017-08-25 14:40:47 +00:00
third_party Make haveDecodedRow return void 2017-08-22 19:36:48 +00:00
tools Revert "Threaded generation of software paths" 2017-08-24 21:34:38 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore clang on windows support 2017-07-31 18:39:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn Reland "skia: add heif decoding support" 2017-08-18 14:40:29 +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/ 335d67b88..3c25ad071 (1 commit) 2017-08-25 11:53:37 +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
PRESUBMIT.py Update CQ extra trybots after switch to Debian 2017-06-29 19:35:40 +00:00
public.bzl remove SK_SUPPORT_LEGACY_LOCAL_ROTATE_SHADER -- see what breaks 2017-08-21 16:41:26 +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 Revert "Revert "Make GrAtlasTextOp a non-legacy GrMeshDrawOp"" 2017-07-19 12:17: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.