#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 |
| Envelope< double > const & | extent () const |
| mapnik::CoordTransform::CoordTransform | ( | int | width, | |
| int | height, | |||
| const Envelope< double > & | extent, | |||
| double | offset_x = 0, |
|||
| double | offset_y = 0 | |||
| ) | [inline] |
References mapnik::Envelope< T >::height(), and mapnik::Envelope< T >::width().
| double mapnik::CoordTransform::scale | ( | ) | const [inline] |
| void mapnik::CoordTransform::forward | ( | double * | x, | |
| double * | y | |||
| ) | const [inline] |
| void mapnik::CoordTransform::backward | ( | double * | x, | |
| double * | y | |||
| ) | const [inline] |
References mapnik::Envelope< T >::maxy(), and mapnik::Envelope< T >::minx().
Referenced by backward(), and mapnik::Map::query_map_point().
References backward().
| CoordinateArray& mapnik::CoordTransform::forward | ( | CoordinateArray & | coords | ) | const [inline] |
References forward(), and mapnik::coord_array< T >::size().
| CoordinateArray& mapnik::CoordTransform::backward | ( | CoordinateArray & | coords | ) | const [inline] |
References backward(), and mapnik::coord_array< T >::size().
| Envelope<double> const& mapnik::CoordTransform::extent | ( | ) | const [inline] |
Referenced by mapnik::cairo_renderer< T >::start_map_processing().
1.5.6