Package mapnik :: Module _mapnik :: Class ViewTransform

Class ViewTransform

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

Instance Methods
 
__init__(...)
__init__( (object)arg1, (int)arg2, (int)arg3, (Envelope)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__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  __instance_size__ = 80
Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

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

    C++ signature :
        void __init__(_object*,int,int,mapnik::Envelope<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, (Envelope)arg2) -> Envelope :

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

forward(...)

 

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

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

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

    C++ signature :
        mapnik::Envelope<double> forward(mapnik::CoordTransform,mapnik::Envelope<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})