Go to file
Adrienne Walker ad8da8ea99 Expose SkPath validation as boolean
As a part of serializing SkPaths, I want to be able to know (without
asserting) whether or not a path is valid so that I can discard
potentially malicious deserialized paths.

Currently, SkPath(Ref) both just have asserting validation functions
which can't be used externally.  This patch adds accessors that don't
assert.

Bug: chromium:752755 skia:6955
Change-Id: I4d0ceb31ec660b87e3fda438392ad2b60a27a0da
Reviewed-on: https://skia-review.googlesource.com/31720
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2017-08-10 20:22:35 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench add gamma stage 2017-08-09 18:51:44 +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 simplify gm matrices 2017-08-08 12:43:19 +00:00
docs fix links and missing constructor 2017-08-04 17:25:24 +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 Remove SkTypeface::Style from fuzzers and lua. 2017-08-08 15:27:19 +00:00
gm Hide GrPaint copy constructor and add GrPaint::Clone and remove MoveOrNew and MoveOrCopy. 2017-08-10 17:56:45 +00:00
gn Build support for 32-bit armv8-a 2017-08-10 17:31:25 +00:00
include Expose SkPath validation as boolean 2017-08-10 20:22:35 +00:00
infra Fix undefined flag for MSAN. 2017-08-10 19:02:06 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Remove SkTypeface::Style from fuzzers and lua. 2017-08-08 15:27:19 +00:00
samplecode Remove SkTypeface::Style from fuzzers and lua. 2017-08-08 15:27:19 +00:00
site fix Vulkan doc typo 2017-08-07 16:53:19 +00:00
src Expose SkPath validation as boolean 2017-08-10 20:22:35 +00:00
tests Hide GrPaint copy constructor and add GrPaint::Clone and remove MoveOrNew and MoveOrCopy. 2017-08-10 17:56:45 +00:00
third_party link libwebpmux in system-webp builds 2017-08-01 14:33:38 +00:00
tools Replace interp() with clut_{3,4}D stages. 2017-08-10 14:34:35 +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 15-bit lowp is dead, long live 8-bit lowp 2017-08-04 05:19:38 +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/ 553590a57..47bb4933f (1 commit) 2017-08-10 20:11: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 guard for google3 2017-08-10 14:44:11 +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.