예제 #1
0
파일: share.py 프로젝트: jrebs/xxpaper
 def __init__(self, cfgs, sheet, page, fname):
     Sheet.__init__(self, cfgs, sheet, page, fname)
     # Offsets within tile
     self.side_stripe_inset_x = float(self.value("side_stripe_inset_x"))
     self.side_stripe_width = float(self.value("side_stripe_width"))
     self.type_stripe_height = float(self.value("type_stripe_height"))
     self.type_stripe_inset_x = float(self.value("type_stripe_inset_x"))
     self.type_stripe_inset_y = float(self.value("type_stripe_inset_y"))
     self.type_stripe_inset_y_fudge = float(self.value("type_stripe_inset_y_fudge"))
     self.type_stripe_width = self.x_off + self.tile_x - self.type_stripe_inset_x
예제 #2
0
파일: train.py 프로젝트: jrebs/xxpaper
 def __init__ (self, cfgs, sheet, page, fname):
   Sheet.__init__ (self, cfgs, sheet, page, fname)
   # Offsets within tile
   self.rust_stripe_inset_y = int (self.value ("rust_stripe_inset_y"))
   self.rust_stripe_height = int (self.value ("rust_stripe_height"))
예제 #3
0
파일: private.py 프로젝트: jrebs/xxpaper
 def __init__ (self, cfgs, sheet, page, fname):
   Sheet.__init__ (self, cfgs, sheet, page, fname)
   # Offsets within tile
   self.number_stripe_height = float (self.value ("number_stripe_height"))
   self.number_text_inset_x = float (self.value ("number_text_inset_x"))
   self.number_stripe_inset_y = float (self.value ("number_stripe_inset_y"))