skia2/experimental/pathkit
Kevin Lubick 1fd58fd34f [PathKit] Re-create test expectations
See https://skia-review.googlesource.com/c/skia/+/149620

Bug: skia:
Change-Id: I2a8c88e813b5084f667d08317145866b57bbd7ab
Reviewed-on: https://skia-review.googlesource.com/149681
Reviewed-by: Ravi Mistry <rmistry@google.com>
2018-08-27 19:13:11 +00:00
..
npm-asmjs [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
npm-wasm [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
tests [PathKit] Re-create test expectations 2018-08-27 19:13:11 +00:00
.gitignore Productionize PathKit 2018-08-02 16:31:23 +00:00
chaining.js [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
compile.sh [PathKit] Add asm.js build and test jobs 2018-08-22 17:19:10 +00:00
externs.js [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
helper.js [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
karma.conf.js [PathKit] Add asm.js build and test jobs 2018-08-22 17:19:10 +00:00
Makefile [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
package.json [PathKit] Add asm.js build and test jobs 2018-08-22 17:19:10 +00:00
pathkit_wasm_bindings.cpp [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
README.md Productionize PathKit 2018-08-02 16:31:23 +00:00
serve.py Productionize PathKit 2018-08-02 16:31:23 +00:00

PathKit WASM API

This library lets you use Skia's feature-rich PathOps API in the browser.

Compiling the source

Download the Enscriptem SDK.

Set the EMSDK environment variable to the directory you installed it to.

Run ./experimental/pathkit/compile.sh to compile a production, WASM build to $SKIA_HOME/out/pathkit. Add "--help" for more options.