Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/c/h/Chiplotle-0.4/chiplotle/hpgl/label.py   Chiplotle(Download)
from chiplotle.hpgl.commands import LB, PA, ES, LO, SL, DI, DV, SI
 
class Label(object):
   '''Text label.
 
      else:
         result.append(DI( ))
      result.append(SI(self.charwidth, self.charheight))
      result.append(ES(self.charspace, self.linespace))
      result.append(LO(self.origin))

src/c/h/Chiplotle-0.4/chiplotle/hpgl/test/test_SI.py   Chiplotle(Download)
from chiplotle.hpgl.commands import SI
import py.test
 
def test_SI_01( ):
   '''SI has default values.'''
   t = SI( )
def test_SI_02( ):
   t = SI(3, 2)
 
   assert t.format == 'SI3.00,2.00;'
 
 
def test_SI_03( ):
 
   t = SI(3)