tree: 904c08d04edf941a98ea7789e6b02dd4957e2669 [path history] [tgz]
  1. docker/
  2. npm-wasm/
  3. tests/
  4. .gitignore
  5. compile.sh
  6. helper.js
  7. helper_externs.js
  8. karma-docker.conf.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.