Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

zshipko/libtwombly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twombly - Vector Graphics

Build Status

libtwombly is a basic 2d vector graphics library for C99 and C++11. It provides a familiar interface for drawing on images using paths, transforms, strokes, fills, gradients, text, images, etc...

It it based on a lightly modified version of the Anti-Grain Geometry library (version 2.4) and is meant to provide an API similar to cairo or HTML5 canvas.

libtwombly is actively tested on OSX, Linux, FreeBSD and OpenBSD.

Dependencies

Building

GNU Make is required

For the default configuration just run, all dependencies(except libtiff) must be available via pkg-config:

make
make install

To disable FreeType:

make freetype=no

Building will compile both libtwombly and libagg libraries.

To install the python ctypes wrapper:

python setup.py install

or

pip install git+https://github.com/zshipko/libtwombly.git

Usage

See the examples or https://zshipko.github.io/libtwombly for more detailed information.

To build and run an example:

cd examples
make circles-run

About

Vector graphics library based on Antigrain

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published