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_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
 

Detailed Description

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

Definition at line 449 of file xdot.py.

Constructor & Destructor Documentation

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

Definition at line 455 of file xdot.py.

Member Function Documentation

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

Definition at line 463 of file xdot.py.

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

Definition at line 656 of file xdot.py.

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

Definition at line 625 of file xdot.py.

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

Definition at line 647 of file xdot.py.

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

Definition at line 640 of file xdot.py.

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

Definition at line 653 of file xdot.py.

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

Definition at line 634 of file xdot.py.

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

Definition at line 631 of file xdot.py.

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

Definition at line 662 of file xdot.py.

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

Definition at line 644 of file xdot.py.

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

Definition at line 530 of file xdot.py.

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

Definition at line 559 of file xdot.py.

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

Definition at line 471 of file xdot.py.

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

Definition at line 507 of file xdot.py.

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

Definition at line 482 of file xdot.py.

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

Definition at line 479 of file xdot.py.

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

Definition at line 485 of file xdot.py.

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

Definition at line 499 of file xdot.py.

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

Definition at line 490 of file xdot.py.

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

Definition at line 622 of file xdot.py.

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

Definition at line 466 of file xdot.py.

Member Data Documentation

smach_viewer.xdot.xdot.XDotAttrParser.buf

Definition at line 457 of file xdot.py.

smach_viewer.xdot.xdot.XDotAttrParser.parser

Definition at line 456 of file xdot.py.

smach_viewer.xdot.xdot.XDotAttrParser.pen

Definition at line 460 of file xdot.py.

smach_viewer.xdot.xdot.XDotAttrParser.pos

Definition at line 458 of file xdot.py.

smach_viewer.xdot.xdot.XDotAttrParser.shapes

Definition at line 461 of file xdot.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Mon Jun 10 2019 13:13:42