artemp/trac2github — Issue #207: Correct operator* and operator/ behaviour (mapnik::Envelope object)
Author: artemp
Created: 2011-10-09 20:20:49+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.