Lines Matching refs:attr
25 def attr(self, val, ns=""):
29 attr = float(self.node.get(val))
31 attr = self.node.get(val)
32 return attr
43 x1 = self.attr("x1")
44 y1 = self.attr("y1")
45 x2 = self.attr("x2")
46 y2 = self.attr("y2")
55 cx = self.attr("cx")
56 cy = self.attr("cy")
57 r = self.attr("r")
73 style = simplestyle.parseStyle(self.attr("style"))
90 return bool(self.attr("transform"))
116 return bool(self.attr("clip-path"))
120 self.ctx.write("\n// #%s" % self.attr("id"))
146 gtype = self.attr("groupmode", "inkscape") or "group"
154 x = self.attr("x")
155 y = self.attr("y")
156 w = self.attr("width")
157 h = self.attr("height")
158 rx = self.attr("rx") or 0
159 ry = self.attr("ry") or 0
170 cx = self.attr("cx")
171 cy = self.attr("cy")
172 r = self.attr("r")
178 cx = self.attr("cx")
179 cy = self.attr("cy")
180 rx = self.attr("rx")
181 ry = self.attr("ry")
206 return parsePath(self.attr("d"))
316 x1 = self.attr("x1")
317 y1 = self.attr("y1")
318 x2 = self.attr("x2")
319 y2 = self.attr("y2")
325 points = self.attr("points").strip().split(" ")
355 x = self.attr("x")
356 y = self.attr("y")