artemp/tickets2issues — Issue #290: Correct operator* and operator/ behaviour (mapnik::Envelope object)
Author: artemp
Created: 2011-10-11 15:08:37+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.