Public Member Functions | |
def | __init__ (self, parser, buf) |
def | __nonzero__ (self) |
def | handle_bezier (self, points, filled=False) |
def | handle_color (self, color, filled=False) |
def | handle_ellipse (self, x0, y0, w, h, filled=False) |
def | handle_font (self, size, name) |
def | handle_line (self, points) |
def | handle_linestyle (self, style) |
def | handle_linewidth (self, linewidth) |
def | handle_polygon (self, points, filled=False) |
def | handle_text (self, x, y, j, w, t) |
def | lookup_color (self, c) |
def | parse (self) |
def | read_code (self) |
def | read_color (self) |
def | read_float (self) |
def | read_number (self) |
def | read_point (self) |
def | read_polygon (self) |
def | read_text (self) |
def | transform (self, x, y) |
def | unescape (self, buf) |
Public Attributes | |
buf | |
parser | |
pen | |
pos | |
shapes | |
Parser for xdot drawing attributes. See also: - http://www.graphviz.org/doc/info/output.html#d:xdot
def smach_viewer.xdot.xdot.XDotAttrParser.__init__ | ( | self, | |
parser, | |||
buf | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.__nonzero__ | ( | self | ) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_bezier | ( | self, | |
points, | |||
filled = False |
|||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_color | ( | self, | |
color, | |||
filled = False |
|||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_ellipse | ( | self, | |
x0, | |||
y0, | |||
w, | |||
h, | |||
filled = False |
|||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_font | ( | self, | |
size, | |||
name | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_line | ( | self, | |
points | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_linestyle | ( | self, | |
style | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_linewidth | ( | self, | |
linewidth | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_polygon | ( | self, | |
points, | |||
filled = False |
|||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.handle_text | ( | self, | |
x, | |||
y, | |||
j, | |||
w, | |||
t | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.lookup_color | ( | self, | |
c | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.read_color | ( | self | ) |
def smach_viewer.xdot.xdot.XDotAttrParser.read_float | ( | self | ) |
def smach_viewer.xdot.xdot.XDotAttrParser.read_number | ( | self | ) |
def smach_viewer.xdot.xdot.XDotAttrParser.read_point | ( | self | ) |
def smach_viewer.xdot.xdot.XDotAttrParser.read_polygon | ( | self | ) |
def smach_viewer.xdot.xdot.XDotAttrParser.transform | ( | self, | |
x, | |||
y | |||
) |
def smach_viewer.xdot.xdot.XDotAttrParser.unescape | ( | self, | |
buf | |||
) |