#include <ctrans.hpp>
Public Member Functions | |
CoordTransform (int width, int height, const Envelope< double > &extent, double offset_x=0, double offset_y=0) | |
double | scale () const |
void | forward (double *x, double *y) const |
void | backward (double *x, double *y) const |
coord2d & | forward (coord2d &c) const |
coord2d & | backward (coord2d &c) const |
Envelope< double > | forward (const Envelope< double > &e) const |
Envelope< double > | backward (const Envelope< double > &e) const |
CoordinateArray & | forward (CoordinateArray &coords) const |
CoordinateArray & | backward (CoordinateArray &coords) const |
mapnik::CoordTransform::CoordTransform | ( | int | width, | |
int | height, | |||
const Envelope< double > & | extent, | |||
double | offset_x = 0 , |
|||
double | offset_y = 0 | |||
) | [inline] |
CoordinateArray& mapnik::CoordTransform::backward | ( | CoordinateArray & | coords | ) | const [inline] |
void mapnik::CoordTransform::backward | ( | double * | x, | |
double * | y | |||
) | const [inline] |
CoordinateArray& mapnik::CoordTransform::forward | ( | CoordinateArray & | coords | ) | const [inline] |
void mapnik::CoordTransform::forward | ( | double * | x, | |
double * | y | |||
) | const [inline] |
double mapnik::CoordTransform::scale | ( | ) | const [inline] |