skia-pathops is a Python library that provides access to boolean operations on 2D vector paths using Google's Skia graphics library. It's currently at version 0.9.2, seeing relatively frequent updates that often align with upstream Skia library changes or Python version support.
pip install skia-pathopsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create two simple rectangular paths and perform a union operation using `OpBuilder`. The result is a new `Path` object representing the combined shape.
Upgrade Python to 3.10 or newer, or `pip install 'skia-pathops<0.9.0'`.
Upgrade Python to 3.8 or newer, or `pip install 'skia-pathops<0.8.0'`.
Before `pip install`, set `export BUILD_SKIA_FROM_SOURCE=0` (Linux/macOS) or `$env:BUILD_SKIA_FROM_SOURCE=0` (PowerShell) to disable embedded Skia build.
Update custom `PathPen` implementations to handle variable arguments for `curveTo` (4 or 6 points) and `qCurveTo` (2 or 4 points) as per the updated BasePen protocol.
No dependency data recorded yet.