Public Member Functions | |
def | __init__ |
def | __nonzero__ |
def | handle_bezier |
def | handle_color |
def | handle_ellipse |
def | handle_font |
def | handle_line |
def | handle_linestyle |
def | handle_linewidth |
def | handle_polygon |
def | handle_text |
def | lookup_color |
def | parse |
def | read_code |
def | read_color |
def | read_float |
def | read_number |
def | read_point |
def | read_polygon |
def | read_text |
def | transform |
def | unescape |
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 xdot.XDotAttrParser.__init__ | ( | self, | |
parser, | |||
buf | |||
) |
def xdot.XDotAttrParser.__nonzero__ | ( | self | ) |
def xdot.XDotAttrParser.handle_bezier | ( | self, | |
points, | |||
filled = False |
|||
) |
def xdot.XDotAttrParser.handle_color | ( | self, | |
color, | |||
filled = False |
|||
) |
def xdot.XDotAttrParser.handle_ellipse | ( | self, | |
x0, | |||
y0, | |||
w, | |||
h, | |||
filled = False |
|||
) |
def xdot.XDotAttrParser.handle_font | ( | self, | |
size, | |||
name | |||
) |
def xdot.XDotAttrParser.handle_line | ( | self, | |
points | |||
) |
def xdot.XDotAttrParser.handle_linestyle | ( | self, | |
style | |||
) |
def xdot.XDotAttrParser.handle_linewidth | ( | self, | |
linewidth | |||
) |
def xdot.XDotAttrParser.handle_polygon | ( | self, | |
points, | |||
filled = False |
|||
) |
def xdot.XDotAttrParser.handle_text | ( | self, | |
x, | |||
y, | |||
j, | |||
w, | |||
t | |||
) |
def xdot.XDotAttrParser.lookup_color | ( | self, | |
c | |||
) |
def xdot.XDotAttrParser.parse | ( | self | ) |
def xdot.XDotAttrParser.read_code | ( | self | ) |
def xdot.XDotAttrParser.read_color | ( | self | ) |
def xdot.XDotAttrParser.read_float | ( | self | ) |
def xdot.XDotAttrParser.read_number | ( | self | ) |
def xdot.XDotAttrParser.read_point | ( | self | ) |
def xdot.XDotAttrParser.read_polygon | ( | self | ) |
def xdot.XDotAttrParser.read_text | ( | self | ) |
def xdot.XDotAttrParser.transform | ( | self, | |
x, | |||
y | |||
) |
def xdot.XDotAttrParser.unescape | ( | self, | |
buf | |||
) |