CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
svgfig.Line Class Reference
Inheritance diagram for svgfig.Line:
svgfig.Curve svgfig.HLine svgfig.LineAxis svgfig.VLine svgfig.XAxis svgfig.YAxis

Public Member Functions

def __init__
 
def __repr__
 
def Path
 
def SVG
 
- Public Member Functions inherited from svgfig.Curve
def __init__
 
def __repr__
 
def Path
 
def sample
 end nested class More...
 
def subsample
 
def SVG
 

Public Attributes

 arrow_end
 
 attr
 
 f
 
 high
 
 loop
 
 low
 
 y2
 
- Public Attributes inherited from svgfig.Curve
 attr
 
 f
 
 high
 
 last_samples
 
 loop
 
 low
 

Static Public Attributes

dictionary defaults = {}
 
- Static Public Attributes inherited from svgfig.Curve
dictionary defaults = {}
 
int discontinuity_limit = 5
 
float linearity_limit = 0.05
 
 random_sampling = True
 
int recursion_limit = 15
 

Detailed Description

Draws a line between two points.

Line(x1, y1, x2, y2, arrow_start, arrow_end, attribute=value)

x1, y1                  required        the starting point
x2, y2                  required        the ending point
arrow_start             default=None    if an identifier string/Unicode,
                                        draw a new arrow object at the
                                        beginning of the line; if a marker,
                                        draw that marker instead
arrow_end               default=None    same for the end of the line
attribute=value pairs   keyword list    SVG attributes

Definition at line 1976 of file svgfig.py.

Constructor & Destructor Documentation

def svgfig.Line.__init__ (   self,
  x1,
  y1,
  x2,
  y2,
  arrow_start = None,
  arrow_end = None,
  attr 
)

Definition at line 1995 of file svgfig.py.

Member Function Documentation

def svgfig.Line.__repr__ (   self)

Definition at line 1992 of file svgfig.py.

def svgfig.Line.Path (   self,
  trans = None,
  local = False 
)
Apply the transformation "trans" and return a Path object in
global coordinates.  If local=True, return a Path in local coordinates
(which must be transformed again).

Definition at line 2034 of file svgfig.py.

def svgfig.Line.SVG (   self,
  trans = None 
)
Apply the transformation "trans" and return an SVG object.

Definition at line 2002 of file svgfig.py.

Member Data Documentation

svgfig.Line.arrow_end

Definition at line 1997 of file svgfig.py.

svgfig.Line.attr

Definition at line 1999 of file svgfig.py.

dictionary svgfig.Line.defaults = {}
static

Definition at line 1990 of file svgfig.py.

svgfig.Line.f

Definition at line 2038 of file svgfig.py.

Referenced by ztail.Decoder.initial_synchronize().

svgfig.Line.high

Definition at line 2040 of file svgfig.py.

svgfig.Line.loop

Definition at line 2041 of file svgfig.py.

svgfig.Line.low

Definition at line 2039 of file svgfig.py.

svgfig.Line.y2

Definition at line 1996 of file svgfig.py.