Public Member Functions | Public Attributes | List of all members
smach_viewer.xdot.xdot.XDotAttrParser Class Reference

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_font_characteristics (self, flags)
 
def handle_image (self, x0, y0, w, h, path)
 
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_int (self)
 
def read_point (self)
 
def read_polygon (self)
 
def read_text (self)
 
def skip_space (self)
 
def transform (self, x, y)
 
def unescape (self, buf)
 

Public Attributes

 buf
 
 parser
 
 pen
 
 pos
 
 shapes
 

Detailed Description

Parser for xdot drawing attributes.
See also:
- http://www.graphviz.org/doc/info/output.html#d:xdot

Definition at line 558 of file xdot.py.

Constructor & Destructor Documentation

◆ __init__()

def smach_viewer.xdot.xdot.XDotAttrParser.__init__ (   self,
  parser,
  buf 
)

Definition at line 564 of file xdot.py.

Member Function Documentation

◆ __nonzero__()

def smach_viewer.xdot.xdot.XDotAttrParser.__nonzero__ (   self)

Definition at line 572 of file xdot.py.

◆ handle_bezier()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_bezier (   self,
  points,
  filled = False 
)

Definition at line 797 of file xdot.py.

◆ handle_color()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_color (   self,
  color,
  filled = False 
)

Definition at line 750 of file xdot.py.

◆ handle_ellipse()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_ellipse (   self,
  x0,
  y0,
  w,
  h,
  filled = False 
)

Definition at line 785 of file xdot.py.

◆ handle_font()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_font (   self,
  size,
  name 
)

Definition at line 767 of file xdot.py.

◆ handle_font_characteristics()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_font_characteristics (   self,
  flags 
)

Definition at line 771 of file xdot.py.

◆ handle_image()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_image (   self,
  x0,
  y0,
  w,
  h,
  path 
)

Definition at line 791 of file xdot.py.

◆ handle_line()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_line (   self,
  points 
)

Definition at line 794 of file xdot.py.

◆ handle_linestyle()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_linestyle (   self,
  style 
)

Definition at line 759 of file xdot.py.

◆ handle_linewidth()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_linewidth (   self,
  linewidth 
)

Definition at line 756 of file xdot.py.

◆ handle_polygon()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_polygon (   self,
  points,
  filled = False 
)

Definition at line 803 of file xdot.py.

◆ handle_text()

def smach_viewer.xdot.xdot.XDotAttrParser.handle_text (   self,
  x,
  y,
  j,
  w,
  t 
)

Definition at line 782 of file xdot.py.

◆ lookup_color()

def smach_viewer.xdot.xdot.XDotAttrParser.lookup_color (   self,
  c 
)

Definition at line 646 of file xdot.py.

◆ parse()

def smach_viewer.xdot.xdot.XDotAttrParser.parse (   self)

Definition at line 675 of file xdot.py.

◆ read_code()

def smach_viewer.xdot.xdot.XDotAttrParser.read_code (   self)

Definition at line 580 of file xdot.py.

◆ read_color()

def smach_viewer.xdot.xdot.XDotAttrParser.read_color (   self)

Definition at line 620 of file xdot.py.

◆ read_float()

def smach_viewer.xdot.xdot.XDotAttrParser.read_float (   self)

Definition at line 595 of file xdot.py.

◆ read_int()

def smach_viewer.xdot.xdot.XDotAttrParser.read_int (   self)

Definition at line 592 of file xdot.py.

◆ read_point()

def smach_viewer.xdot.xdot.XDotAttrParser.read_point (   self)

Definition at line 598 of file xdot.py.

◆ read_polygon()

def smach_viewer.xdot.xdot.XDotAttrParser.read_polygon (   self)

Definition at line 612 of file xdot.py.

◆ read_text()

def smach_viewer.xdot.xdot.XDotAttrParser.read_text (   self)

Definition at line 603 of file xdot.py.

◆ skip_space()

def smach_viewer.xdot.xdot.XDotAttrParser.skip_space (   self)

Definition at line 588 of file xdot.py.

◆ transform()

def smach_viewer.xdot.xdot.XDotAttrParser.transform (   self,
  x,
  y 
)

Definition at line 747 of file xdot.py.

◆ unescape()

def smach_viewer.xdot.xdot.XDotAttrParser.unescape (   self,
  buf 
)

Definition at line 575 of file xdot.py.

Member Data Documentation

◆ buf

smach_viewer.xdot.xdot.XDotAttrParser.buf

Definition at line 566 of file xdot.py.

◆ parser

smach_viewer.xdot.xdot.XDotAttrParser.parser

Definition at line 565 of file xdot.py.

◆ pen

smach_viewer.xdot.xdot.XDotAttrParser.pen

Definition at line 569 of file xdot.py.

◆ pos

smach_viewer.xdot.xdot.XDotAttrParser.pos

Definition at line 567 of file xdot.py.

◆ shapes

smach_viewer.xdot.xdot.XDotAttrParser.shapes

Definition at line 570 of file xdot.py.


The documentation for this class was generated from the following file:


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Feb 20 2025 03:09:09