tree: 6369b72ddc1e60a50171742aa2ca93256482a6c4 [path history] [tgz]
  1. docker/
  2. npm-wasm/
  3. .gitignore
  4. compile.sh
  5. Makefile
  6. pathkit_wasm_bindings.cpp
  7. README.md
  8. 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.