src/reportlab/graphics/renderbase.py
changeset 3368 afa025c34493
parent 3326 ce725978d11c
child 3385 e45ca0b2053c
equal deleted inserted replaced
3367:bce0159f2980 3368:afa025c34493
   125         self._combined[-1][key] = value
   125         self._combined[-1][key] = value
   126 
   126 
   127 def testStateTracker():
   127 def testStateTracker():
   128     print 'Testing state tracker'
   128     print 'Testing state tracker'
   129     defaults = {'fillColor':None, 'strokeColor':None,'fontName':None, 'transform':[1,0,0,1,0,0]}
   129     defaults = {'fillColor':None, 'strokeColor':None,'fontName':None, 'transform':[1,0,0,1,0,0]}
       
   130     from reportlab.graphics.shapes import _baseGFontName
   130     deltas = [
   131     deltas = [
   131         {'fillColor':'red'},
   132         {'fillColor':'red'},
   132         {'fillColor':'green', 'strokeColor':'blue','fontName':'Times-Roman'},
   133         {'fillColor':'green', 'strokeColor':'blue','fontName':_baseGFontName},
   133         {'transform':[0.5,0,0,0.5,0,0]},
   134         {'transform':[0.5,0,0,0.5,0,0]},
   134         {'transform':[0.5,0,0,0.5,2,3]},
   135         {'transform':[0.5,0,0,0.5,2,3]},
   135         {'strokeColor':'red'}
   136         {'strokeColor':'red'}
   136         ]
   137         ]
   137 
   138