Top

pyagg module

API Documentation

Sub-modules

pyagg.affine

Thirdparty library for handling affine transformations, by Sean Gillies, based on Casey Duncan's original code.

pyagg.bboxhelper

Contains several helper functions for manipulating bounding boxes. Mostly used internally.

pyagg.canvas

Defines the PyAgg Canvas class, where most of the PyAgg functinoality is defined.

pyagg.fonthelper

Lightweigt module for reading system font names from .ttf font files. Based on http://www.codeproject.com/Articles/2293/Retrieving-font-name-from-TTF-file Karim Bahgat, 2015

pyagg.graph

Contains classes for different types of graphs, intended for easy use. Still a work in progress, and misses several features.

pyagg.gridinterp

Various interpolation algorithms in pure Python. Karim Bahgat 2015

  • Point interpolation of sample points to a grid of unknown values.
  • Grid interpolation of values from source to destination grids with different coords.
  • Basic image resampling of pixel values to new image dimensions.

pyagg.legend

Canvas subclass specializing in being a Legend showing assigned symbology.

pyagg.legend_exp

Canvas subclass specializing in being a Legend showing assigned symbology.

pyagg.precompiled

Contains the precompiled versions of the aggdraw library for various OS and bit-systems. The main canvas module dynamically imports the correct one at runtime.

pyagg.units

Parses distances formatted as strings with a unit suffix, converting them to pixels. Mostly used internally.