示例#1
0
文件: pnggrid.py 项目: imclab/pnggrid
 def from_utfgrid_string(cls, string):
     return cls.from_utfgrid(UTFGrid.from_string(string))
示例#2
0
文件: pnggrid.py 项目: imclab/pnggrid
 def from_utfgrid_file(cls, file):
     return cls.from_utfgrid(UTFGrid.from_file(file))
示例#3
0
 def setUp(self):
     self.utfgrid = UTFGrid.from_file(open('demo.json'))
示例#4
0
 def setUp(self):
     self.utfgrid = UTFGrid.from_file(open('europe.json'))
     self.pnggrid = PNGGrid.from_utfgrid_file(open('europe.json'))
示例#5
0
 def from_utfgrid_file(cls, file):
     return cls.from_utfgrid(UTFGrid.from_file(file))
示例#6
0
 def from_utfgrid_string(cls, string):
     return cls.from_utfgrid(UTFGrid.from_string(string))