コード例 #1
0
ファイル: sk2_model.py プロジェクト: wenlibin02/sk1-wx
	def get_initial_paths(self):
		return libgeom.get_rect_paths(self.start, self.width,
									self.height, self.corners)
コード例 #2
0
ファイル: sk2_model.py プロジェクト: Scrik/sk1-wx
	def get_initial_paths(self):
		width = float(self.size[0]) * uc2const.px_to_pt
		height = float(self.size[1]) * uc2const.px_to_pt
		return libgeom.get_rect_paths([0, 0], width, height,
									[] + sk2_const.CORNERS)
コード例 #3
0
ファイル: sk2_model.py プロジェクト: wenlibin02/sk1-wx
	def get_initial_paths(self):
		width, height = self.get_size()
		return libgeom.get_rect_paths([0, 0], width, height,
									[] + sk2_const.CORNERS)
コード例 #4
0
ファイル: sk2_model.py プロジェクト: Scrik/sk1-wx
 def get_initial_paths(self):
     width = float(self.size[0]) * uc2const.px_to_pt
     height = float(self.size[1]) * uc2const.px_to_pt
     return libgeom.get_rect_paths([0, 0], width, height,
                                   [] + sk2_const.CORNERS)