Lines Matching refs:ry
46 def _arc(self, c, rx, ry, x, y, large_arc): argument
47 self._add('%s%s,%s 0 %d 1 %s,%s' % (c, _ntos(rx), _ntos(ry), large_arc,
50 def A(self, rx, ry, x, y, large_arc=0): argument
51 self._arc('A', rx, ry, x, y, large_arc)
53 def a(self, rx, ry, x, y, large_arc=0): argument
54 self._arc('a', rx, ry, x, y, large_arc)
77 ry = float(rect.attrib.get('ry', 0))
79 rx = _prefer_non_zero(rx, ry)
80 ry = _prefer_non_zero(ry, rx)
87 self.A(rx, ry, x + w, y + ry)
88 self.V(y + h - ry)
90 self.A(rx, ry, x + w - rx, y + h)
93 self.A(rx, ry, x, y + h - ry)
94 self.V(y + ry)
96 self.A(rx, ry, x + rx, y)