예제 #1
0
	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
	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)