https://github.com/fonttools/skia-pathops
Python bindings for the Skia library's Path Ops
https://github.com/fonttools/skia-pathops
Last synced: 9 months ago
JSON representation
Python bindings for the Skia library's Path Ops
- Host: GitHub
- URL: https://github.com/fonttools/skia-pathops
- Owner: fonttools
- License: bsd-3-clause
- Created: 2017-11-07T12:50:56.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-11T12:09:25.000Z (12 months ago)
- Last Synced: 2025-03-09T03:46:35.464Z (10 months ago)
- Language: Cython
- Homepage: https://skia.org/docs/dev/present/pathops/
- Size: 521 KB
- Stars: 48
- Watchers: 9
- Forks: 14
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/fonttools/skia-pathops/actions?query=workflow%3A%22Build+%2B+Deploy%22)
[](https://ci.appveyor.com/project/fonttools/skia-pathops/branch/master)
[](https://pypi.org/project/skia-pathops/)
Python bindings for the [Google Skia](https://skia.org) library's [Path
Ops](https://skia.org/docs/dev/present/pathops/) module, performing boolean
operations on paths (intersection, union, difference, xor).
Install
=======
To install or update to the latest released package, run:
pip3 install --upgrade skia-pathops
Build
=====
A recent version of [Cython](https://github.com/cython/cython) is
required to build the package (see the `pyproject.toml` file for
the minimum required version).
For developers we recommend installing in editable mode, and
compiling the extension module in the same source directory:
git clone --recursive https://github.com/fonttools/skia-pathops.git
cd skia-pathops
pip install -e .
If this fails, try upgrading pip to v18 or later, and try again:
pip3 install --upgrade pip