tree: 26cfe37ad5beaef93ec6c4bbbdb7080c86ae30f2 [path history] [tgz]
  1. npm-asmjs/
  2. npm-wasm/
  3. tests/
  4. .gitignore
  5. chaining.js
  6. compile.sh
  7. externs.js
  8. helper.js
  9. karma.conf.js
  10. Makefile
  11. package.json
  12. pathkit_wasm_bindings.cpp
  13. README.md
  14. serve.py
experimental/pathkit/README.md

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.