Home | History | Annotate | Download | only in pattern_tools

Lines Matching refs:y1

104     >>> svg = SVG("g", SVG("g", SVG("line", x1=0, y1=0, x2=1, y2=1)), \
111 (0, 0) <line x2=1 y1=0 x1=0 y2=1 />
113 (0, 0, 'y1') 0
125 [0, 0] <line x2=1 y1=0 x1=0 y2=1 />
1558 X1, Y1 = X + RX * math.cos(angle*math.pi/180.), Y + RX * math.sin(angle*math.pi/180.)
1564 X1, Y1, RX, RY, angle, X2, Y2, RX, RY, angle, X3, Y3, RX, RY, angle, X4, Y4, RX, RY, angle, X1, Y1))
2082 "box": SVG("symbol", SVG("rect", x1=-1, y1=-1, x2=1, y2=1, stroke="none", fill="black"), viewBox="0 0 1 1", overflow="visible"),
2182 Line(x1, y1, x2, y2, arrow_start, arrow_end, attribute=value)
2184 x1, y1 required the starting point
2197 self.x1, self.y1, self.x2, self.y2, self.attr)
2199 def __init__(self, x1, y1, x2, y2, arrow_start=None, arrow_end=None, **attr):
2200 self.x1, self.y1, self.x2, self.y2 = x1, y1, x2, y2
2243 self.f = lambda t: (self.x1 + t*(self.x2 - self.x1), self.y1 + t*(self.y2 - self.y1))
2249 return Path([("M", self.x1, self.y1, not local), ("L", self.x2, self.y2, not local)], **self.attr)
2258 Line(x1, y1, x2, y2, lcoal1, local2, arrow_start, arrow_end, attribute=value)
2260 x1, y1 required the starting point
2283 local1, str(self.x1), str(self.y1), local2, str(self.x2), str(self.y2), self.attr)
2285 def __init__(self, x1, y1, x2, y2, local1=False, local2=False, arrow_start=None, arrow_end=None, **attr):
2286 self.x1, self.y1, self.x2, self.y2 = x1, y1, x2, y2
2298 X1, Y1, X2, Y2 = self.x1, self.y1, self.x2, self.y2
2301 X1, Y1 = trans(X1, Y1)
2305 line = SVG("path", d="M%s %s L%s %s" % (X1, Y1, X2, Y2), **self.attr)
2339 VLine(y1, y2, x, attribute=value)
2341 y1, y2 required y range
2348 return "<VLine (%g, %g) at x=%s %s>" % (self.y1, self.y2, self.x, self.attr)
2350 def __init__(self, y1, y2, x, **attr):
2354 Line.__init__(self, x, y1, x, y2, **self.attr)
2389 self.y1 = self.y
2398 Rect(x1, y1, x2, y2, attribute=value)
2400 x1, y1 required the starting point
2408 self.x1, self.y1, self.x2, self.y2, self.attr)
2410 def __init__(self, x1, y1, x2, y2, **attr):
2411 self.x1, self.y1, self.x2, self.y2 = x1, y1, x2, y2
2425 return Path([("M", self.x1, self.y1, not local), ("L", self.x2, self.y1, not local), ("L", self.x2, self.y2, not local), ("L", self.x1, self.y2, not local), ("Z",)], **self.attr)
2432 self.f = lambda t: (self.x1 + t*(self.x2 - self.x1), self.y1)
2435 self.f = lambda t: (self.x2, self.y1 + t*(self.y2 - self.y1))
2443 self.f = lambda t: (self.x1, self.y2 + t*(self.y1 - self.y2))
3124 LineAxis(x1, y1, x2, y2, start, end, ticks, miniticks, labels, logbase,
3127 x1, y1 required starting point
3154 self.x1, self.y1, self.x2, self.y2, str(self.ticks), str(self.labels), self.attr)
3156 def __init__(self, x1, y1, x2, y2, start=0., end=1., ticks=-10, miniticks=True, labels=True,
3163 Line.__init__(self, x1, y1, x2, y2, **attr)
3260 self.y1 = self.aty