svg2code Namespace Reference


Functions

def translate_stops
def translate_linearGradient
def translate_radialGradient
def translate_defs
def trans_color
def get_style_map
def translate_style
def translate_shape_transform
def translate_path
def translate_rect
def translate_font_style
def translate_text

Variables

string svgns = 'http://www.w3.org/2000/svg'
string xlinkns = 'http://www.w3.org/1999/xlink'
tuple re_rgb = re.compile('rgb\\( *([0-9]+(\\.[0-9]+)?) *, *([0-9]+(\\.[0-9]+)?) *, *([0-9]+(\\.[0-9]+)?) *\\)')
tuple reo_func = re.compile('([a-zA-Z]+)\\([^\\)]*\\)


Function Documentation

def svg2code::get_style_map (   style_str  ) 

Definition at line 119 of file svg2code.py.

def svg2code::trans_color (   code  ) 

Definition at line 114 of file svg2code.py.

def svg2code::translate_defs (   defs,
  codefo,
  doc 
)

Definition at line 101 of file svg2code.py.

def svg2code::translate_font_style (   text,
  codefo 
)

Definition at line 246 of file svg2code.py.

def svg2code::translate_linearGradient (   linear,
  codefo,
  doc 
)

Definition at line 54 of file svg2code.py.

def svg2code::translate_path (   path,
  coord_id,
  codefo,
  doc 
)

Definition at line 213 of file svg2code.py.

def svg2code::translate_radialGradient (   radial,
  codefo,
  doc 
)

Definition at line 76 of file svg2code.py.

def svg2code::translate_rect (   rect,
  coord_id,
  codefo,
  doc 
)

Definition at line 224 of file svg2code.py.

def svg2code::translate_shape_transform (   shape,
  coord_id,
  codefo 
)

Definition at line 194 of file svg2code.py.

def svg2code::translate_stops (   parent,
  codefo,
  parent_id 
)

Definition at line 10 of file svg2code.py.

def svg2code::translate_style (   node,
  coord_id,
  codefo,
  doc,
  prefix 
)

Definition at line 126 of file svg2code.py.

def svg2code::translate_text (   text,
  coord_id,
  codefo,
  doc 
)

Definition at line 270 of file svg2code.py.


Variable Documentation

tuple svg2code::re_rgb = re.compile('rgb\\( *([0-9]+(\\.[0-9]+)?) *, *([0-9]+(\\.[0-9]+)?) *, *([0-9]+(\\.[0-9]+)?) *\\)')

Definition at line 9 of file svg2code.py.

tuple svg2code::reo_func = re.compile('([a-zA-Z]+)\\([^\\)]*\\)

Definition at line 295 of file svg2code.py.

string svg2code::svgns = 'http://www.w3.org/2000/svg'

Definition at line 6 of file svg2code.py.

string svg2code::xlinkns = 'http://www.w3.org/1999/xlink'

Definition at line 7 of file svg2code.py.

SourceForge.net Logo