[![Githun CI Status](https://github.com/fonttools/skia-pathops/workflows/Build%20+%20Deploy/badge.svg)](https://github.com/fonttools/skia-pathops/actions?query=workflow%3A%22Build+%2B+Deploy%22)
[![Appveyor CI Status](https://ci.appveyor.com/api/projects/status/jv7g1e0m0vyopbej?svg=true)](https://ci.appveyor.com/project/fonttools/skia-pathops/branch/master)
[![PyPI](https://img.shields.io/pypi/v/skia-pathops.svg)](https://pypi.org/project/skia-pathops/)

Python bindings for the [Google Skia](https://skia.org) library's [Path
Ops](https://skia.org/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
