Go to file
Kevin Lubick 641bf8745d [PathKit] Add more Path2D functionality and move some methods to be members
Adds arc, arcTo, rect and Path2D names for quadTo, cubicTo, close.

Adds conic verb support (approximated with 2 quads).

Breaking changes:
Some functions have been moved to be member functions:
PathKit.Simplify(path) -> path.simplify()
PathKit.ToCanvas(path, ctx) -> path.toCanvas(ctx)
PathKit.ToSVGString(path) -> path.toSVGString()
PathKit.ToPath2D(path) -> path.toPath2D()
PathKit.ToCmds(path) -> path.toCmds()
PathKit.ResolveBuilder(builder) -> builder.resolve()
PathKit.GetBoundaryPathFromRegion(region) -> region.getBoundaryPath()

Pathkit.ApplyPathOp(pathOne, pathTwo, op) still exists, but there's
now also pathOne.op(pathTwo, op) for cases when that's easier.

As per custom with version 0.x.y projects, I'm bumping the
minor version (in npm) for these breaking changes instead of the
major version (which will happen when we are version >= 1.0.0).

This also has some small improvements to the output code size.
The biggest jump was from enabling the closure compiler on the
helper JS, which trimmed it down by about 40%. Using the closure
compiler requires the JRE on the bots, which prompted the emsdk-base
image change.

Bug: skia:8216
Change-Id: I40902d23380093c34d1679df0255bcb0eaa77b01
Reviewed-on: https://skia-review.googlesource.com/145420
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2018-08-06 19:07:12 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Store GrMeshDrawOps' meshes in GrOpFlushState's arena. 2018-08-06 14:38:22 +00:00
bin add --sync to adb push in bin/droid 2018-06-28 15:46:57 +00:00
dm sk_tool::Registry: make an iterator. 2018-08-01 16:59:19 +00:00
docker Use a larger machine for our cloud build. 2018-07-31 20:40:33 +00:00
docs fix bookmaker bot 2018-07-24 12:14:25 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [PathKit] Add more Path2D functionality and move some methods to be members 2018-08-06 19:07:12 +00:00
fuzz clean up includes 2018-08-06 14:49:46 +00:00
gm Fix imagefiltersbase GM in ColorSpaceXformCanvas configs 2018-08-06 17:53:17 +00:00
gn implemented the pipeline state builder for metal gpu backend 2018-08-06 17:46:48 +00:00
include clean up includes 2018-08-06 14:49:46 +00:00
infra [PathKit] Add more Path2D functionality and move some methods to be members 2018-08-06 19:07:12 +00:00
modules [skottie] ResourceManager tweaks 2018-08-06 18:50:22 +00:00
platform_tools Prototype an Android lottie player 2018-08-02 16:20:13 +00:00
resources Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
samplecode clean up includes 2018-08-06 14:49:46 +00:00
site site: Documentation & Fiddle links on front page 2018-07-26 19:25:46 +00:00
src Remove fPath and fTooLargeForAtlas from GrGlyph 2018-08-06 18:47:52 +00:00
tests Store GrMeshDrawOps' meshes in GrOpFlushState's arena. 2018-08-06 14:38:22 +00:00
third_party Add LICENSE to third_party/vulcan 2018-08-01 22:48:44 +00:00
tools Start adding support for some base extensions which others build on. 2018-08-06 14:26:15 +00:00
.clang-format Update .clang-format to handle Objective-C files 2018-07-27 21:33:30 +00:00
.gitignore Add OpenCL build. 2018-06-29 13:06:57 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn improved SkSL lexer performance 2018-08-03 18:57:14 +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 third_party/externals/angle2 a6d34af67286..6ba9754f4a56 (1 commits) 2018-08-06 17:19:58 +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 Make CR and trailing whitespace errors. 2018-07-11 20:48:38 +00:00
public.bzl [Bazel] Add lottie as dm source. 2018-08-01 13:53:00 +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 Whitespace change to trigger flutter roller 2018-06-22 01:18:46 +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.