Exemplo n.º 1
0
	def get_initial_paths(self):
		return libgeom.get_rect_paths(self.start, self.width,
									self.height, self.corners)
Exemplo n.º 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)
Exemplo n.º 3
0
	def get_initial_paths(self):
		width, height = self.get_size()
		return libgeom.get_rect_paths([0, 0], width, height,
									[] + sk2_const.CORNERS)
Exemplo n.º 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)