Пример #1
0
	def get_initial_paths(self):
		return libgeom.get_rect_paths(self.start, self.width,
									self.height, self.corners)
Пример #2
0
	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
 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)