Public Member Functions | Public Attributes | List of all members
smach_viewer.xdot.xdot_qt.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 393 of file xdot_qt.py.

Constructor & Destructor Documentation

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

Definition at line 399 of file xdot_qt.py.

Member Function Documentation

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

Definition at line 407 of file xdot_qt.py.

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

Definition at line 604 of file xdot_qt.py.

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

Definition at line 571 of file xdot_qt.py.

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

Definition at line 595 of file xdot_qt.py.

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

Definition at line 588 of file xdot_qt.py.

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

Definition at line 601 of file xdot_qt.py.

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

Definition at line 580 of file xdot_qt.py.

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

Definition at line 577 of file xdot_qt.py.

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

Definition at line 610 of file xdot_qt.py.

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

Definition at line 592 of file xdot_qt.py.

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

Definition at line 476 of file xdot_qt.py.

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

Definition at line 505 of file xdot_qt.py.

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

Definition at line 415 of file xdot_qt.py.

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

Definition at line 453 of file xdot_qt.py.

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

Definition at line 426 of file xdot_qt.py.

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

Definition at line 423 of file xdot_qt.py.

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

Definition at line 429 of file xdot_qt.py.

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

Definition at line 443 of file xdot_qt.py.

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

Definition at line 434 of file xdot_qt.py.

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

Definition at line 568 of file xdot_qt.py.

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

Definition at line 410 of file xdot_qt.py.

Member Data Documentation

smach_viewer.xdot.xdot_qt.XDotAttrParser.buf

Definition at line 401 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.XDotAttrParser.parser

Definition at line 400 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.XDotAttrParser.pen

Definition at line 404 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.XDotAttrParser.pos

Definition at line 402 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.XDotAttrParser.shapes

Definition at line 405 of file xdot_qt.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