artemp/mapnik — Issue #206: Correct operator* and operator/ behaviour (mapnik::Envelope object)
Author: artemp
Created: 2011-10-11 16:04:36+00:00
State: open
Labels: Core_Library

At the moment operator* and operator/ don't behave in sensible way :

{{{
>>> from mapnik import *
>>> e = Envelope(100,100,200,200)
>>> e*2
Envelope(200.0,200.0,400.0,400.0)
}}}

I'd expect the Envelope to grow/shrink but centre to ramain the same.