Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 980 Bytes

README.rst

File metadata and controls

22 lines (13 loc) · 980 Bytes

pykbool is a Cython wrapper exposing the kbool library.

kbool is a polygon clipper provided within the wxArt2D framework as a third party library.

kbool was originally written by Klaas Holwerda.

One of kbool's feature is to provide connected keyhole polygons, which can be useful when rendering with engines not supporting polygons with holes like Tk.

https://raw.githubusercontent.com/decitre/pykbool/master/data/not_connected.png

https://raw.githubusercontent.com/decitre/pykbool/master/data/connected.png

kbool can be checked out from wxart2d SVN repo or extracted from the r842 archive:

$ svn co http://svn.code.sf.net/p/wxart2d/code/trunk/wxArt2D/thirdparty/kbool
$ tar xvfz data/kbool-wxart2d-code-842-trunk.tgz

pykbool installation and demos:

$ python setup.py install
$ python setup.py demo1
$ python setup.py demo2