Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.456 kb
/* -*- mode: c++; c-basic-offset: 4 -*- */
#ifndef __AGG_PY_TRANSFORMS_H__
#define __AGG_PY_TRANSFORMS_H__
#include "agg_trans_affine.h"
/** A helper function to convert from a Numpy affine transformation matrix
* to an agg::trans_affine.
*/
agg::trans_affine
py_to_agg_transformation_matrix(PyObject* obj, bool errors = true);
bool
py_convert_bbox(PyObject* bbox_obj, double& l, double& b, double& r, double& t);
#endif // __AGG_PY_TRANSFORMS_H__
Jump to Line
Something went wrong with that request. Please try again.