@@ -103,12 +103,12 @@ def Filter(*args, **kwargs):
103103 return Expression (* args , ** kwargs )
104104
105105
106- class Envelope (Box2d ):
106+ class Envelope (Box2d_Base ):
107107
108108 def __init__ (self , * args , ** kwargs ):
109109 warnings .warn ("'Envelope' is deprecated and will be removed in Mapnik 3.x, use 'Box2d' instead" ,
110110 DeprecationWarning , 2 )
111- Box2d .__init__ (self , * args , ** kwargs )
111+ Box2d_Base .__init__ (self , * args , ** kwargs )
112112
113113
114114class _Coord (Coord , _injector ()):
@@ -186,7 +186,7 @@ def inverse(self, projection):
186186 return inverse_ (self , projection )
187187
188188
189- class _Box2d ( Box2d , _injector ()):
189+ class Box2d ( Box2d_Base ): # , _injector()):
190190 """
191191 Represents a spatial envelope (i.e. bounding box).
192192
@@ -294,7 +294,7 @@ def all_features(self, fields=None, variables={}):
294294 return self .__iter__ (fields , variables )
295295
296296
297- class _Color ( Color , _injector ()):
297+ class Color ( Color_Base ): # , _injector()):
298298
299299 def __repr__ (self ):
300300 return "Color(R=%d,G=%d,B=%d,A=%d)" % (self .r , self .g , self .b , self .a )
0 commit comments