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.HLine Class Reference
Inheritance diagram for svgfig.HLine:
svgfig.Line svgfig.Curve

Public Member Functions

def __init__
 
def __repr__
 
def Path
 
- Public Member Functions inherited from svgfig.Line
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

 attr
 
 y
 
 y1
 
 y2
 
- Public Attributes inherited from svgfig.Line
 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.Line
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 horizontal line.

HLine(x1, x2, y, attribute=value)

x1, x2                  required        x range
y                       required        y position
attribute=value pairs   keyword list    SVG attributes

Definition at line 2150 of file svgfig.py.

Constructor & Destructor Documentation

def svgfig.HLine.__init__ (   self,
  x1,
  x2,
  y,
  attr 
)

Definition at line 2164 of file svgfig.py.

Member Function Documentation

def svgfig.HLine.__repr__ (   self)

Definition at line 2161 of file svgfig.py.

def svgfig.HLine.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 2170 of file svgfig.py.

Member Data Documentation

svgfig.HLine.attr

Definition at line 2166 of file svgfig.py.

dictionary svgfig.HLine.defaults = {}
static

Definition at line 2159 of file svgfig.py.

svgfig.HLine.y

Definition at line 2165 of file svgfig.py.

svgfig.HLine.y1

Definition at line 2174 of file svgfig.py.

svgfig.HLine.y2

Definition at line 2175 of file svgfig.py.