Skip to content

fightingdreamer/celiagg

 
 

Repository files navigation

celiagg

PyPI Build status

celiagg provides a simple, stateless canvas object that uses Anti-Grain Geometry 2.4 <svn://svn.code.sf.net/p/agg/svn> with Cython to render directly into a Numpy array.

A respectably modern C++ compiler is required to build celiagg

Documentation!

Installation

pip install celiagg should do the trick.

Building from source with the Freetype font library on macOS requires the pkg-config tool which can be installed via Homebrew, MacPorts, or other macOS package management systems.

To build without text support, set the CELIAGG_NO_TEXT_RENDERING environment variable while building, eg. CELIAGG_NO_TEXT_RENDERING=1 pip install celiagg

Dependencies

  • Numpy
  • Cython (build-time only)
  • Freetype2 (optional)
  • Harfbuzz (optional)

Contributing

We encourage contributions to celiagg! If you would like to contribute, just fork the repository on GitHub, make your changes, and issue a pull request.

History

celiagg started as pyagg (https://github.com/erikhvatum/pyagg) but was renamed to avoid clashing with PyAgg (https://github.com/karimbahgat/PyAgg).

celiagg is a play on Celiac (Anti grain...) and AGG (Anti-Grain Geometry).

About

🎨Anti-Grain Geometry for Python 3 with Cython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.6%
  • Makefile 3.3%
  • Cython 2.5%
  • C 2.1%
  • Python 1.2%
  • CMake 1.0%
  • Other 0.3%