Package mapnik :: Module _mapnik :: Class ViewTransform

Class ViewTransform

 object --+    
          |    
??.instance --+
              |
             ViewTransform

Instance Methods
 
__getinitargs__(...)
__getinitargs__( (ViewTransform)arg1) -> tuple :
 
__init__(...)
__init__( (object)arg1, (int)arg2, (int)arg3, (Box2d)arg4) -> None : Create a ViewTransform with a width and height as integers and extent
 
__reduce__(...)
helper for pickle
 
backward(...)
backward( (ViewTransform)arg1, (Coord)arg2) -> Coord :
 
forward(...)
forward( (ViewTransform)arg1, (Coord)arg2) -> Coord :
 
scale_x(...)
scale_x( (ViewTransform)arg1) -> float :
 
scale_y(...)
scale_y( (ViewTransform)arg1) -> float :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __instance_size__ = 88
  __safe_for_unpickling__ = True
Properties

Inherited from object: __class__

Method Details

__getinitargs__(...)

 

__getinitargs__( (ViewTransform)arg1) -> tuple :

    C++ signature :
        boost::python::tuple __getinitargs__(mapnik::CoordTransform)

__init__(...)
(Constructor)

 

__init__( (object)arg1, (int)arg2, (int)arg3, (Box2d)arg4) -> None :
    Create a ViewTransform with a width and height as integers and extent

    C++ signature :
        void __init__(_object*,int,int,mapnik::box2d<double>)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

backward(...)

 

backward( (ViewTransform)arg1, (Coord)arg2) -> Coord :

    C++ signature :
        mapnik::coord<double, 2> backward(mapnik::CoordTransform,mapnik::coord<double, 2>)

backward( (ViewTransform)arg1, (Box2d)arg2) -> Box2d :

    C++ signature :
        mapnik::box2d<double> backward(mapnik::CoordTransform,mapnik::box2d<double>)

forward(...)

 

forward( (ViewTransform)arg1, (Coord)arg2) -> Coord :

    C++ signature :
        mapnik::coord<double, 2> forward(mapnik::CoordTransform,mapnik::coord<double, 2>)

forward( (ViewTransform)arg1, (Box2d)arg2) -> Box2d :

    C++ signature :
        mapnik::box2d<double> forward(mapnik::CoordTransform,mapnik::box2d<double>)

scale_x(...)

 

scale_x( (ViewTransform)arg1) -> float :

    C++ signature :
        double scale_x(mapnik::CoordTransform {lvalue})

scale_y(...)

 

scale_y( (ViewTransform)arg1) -> float :

    C++ signature :
        double scale_y(mapnik::CoordTransform {lvalue})