Lumiera  0.pre.03
»edityourfreedom«
IconSvgRenderer Namespace Reference

Functions

def copyMergeDirectory (src, dst)
 
def createDirectory (name)
 
def findChildLayerElement (parent_element)
 
def getDocumentSize (svg_element)
 
def getTargetNames (file_path)
 
def main (argv)
 
def parseArguments (argv)
 
def parsePlateLayer (layer)
 
def parseSVG (file_path)
 
def printHelp ()
 
def renderSvgIcon (file_path, out_dir)
 
def renderSvgRsvg (file_path, out_dir, artwork_name, rectangle, _doc_size)
 

Variables

string artworkLayerPrefix
 
string rsvgPath
 

Function Documentation

◆ createDirectory()

def IconSvgRenderer.createDirectory (   name)

Definition at line 57 of file IconSvgRenderer.py.

Referenced by main().

+ Here is the caller graph for this function:

◆ copyMergeDirectory()

def IconSvgRenderer.copyMergeDirectory (   src,
  dst 
)

Definition at line 67 of file IconSvgRenderer.py.

◆ getDocumentSize()

def IconSvgRenderer.getDocumentSize (   svg_element)

Definition at line 74 of file IconSvgRenderer.py.

◆ findChildLayerElement()

def IconSvgRenderer.findChildLayerElement (   parent_element)

Definition at line 79 of file IconSvgRenderer.py.

Referenced by parseSVG().

+ Here is the caller graph for this function:

◆ parsePlateLayer()

def IconSvgRenderer.parsePlateLayer (   layer)

Definition at line 87 of file IconSvgRenderer.py.

Referenced by parseSVG().

+ Here is the caller graph for this function:

◆ parseSVG()

def IconSvgRenderer.parseSVG (   file_path)

Definition at line 100 of file IconSvgRenderer.py.

References findChildLayerElement(), and parsePlateLayer().

+ Here is the call graph for this function:

◆ renderSvgRsvg()

def IconSvgRenderer.renderSvgRsvg (   file_path,
  out_dir,
  artwork_name,
  rectangle,
  _doc_size 
)

Definition at line 118 of file IconSvgRenderer.py.

Referenced by renderSvgIcon().

+ Here is the caller graph for this function:

◆ renderSvgIcon()

def IconSvgRenderer.renderSvgIcon (   file_path,
  out_dir 
)

Definition at line 131 of file IconSvgRenderer.py.

References renderSvgRsvg().

+ Here is the call graph for this function:

◆ getTargetNames()

def IconSvgRenderer.getTargetNames (   file_path)
get a list of target names to be rendered from the given source SVG
   usable to setup the build targets for SCons

Definition at line 136 of file IconSvgRenderer.py.

◆ printHelp()

def IconSvgRenderer.printHelp ( )

Definition at line 144 of file IconSvgRenderer.py.

Referenced by parseArguments().

+ Here is the caller graph for this function:

◆ parseArguments()

def IconSvgRenderer.parseArguments (   argv)

Definition at line 148 of file IconSvgRenderer.py.

References printHelp().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

def IconSvgRenderer.main (   argv)

Definition at line 158 of file IconSvgRenderer.py.

References createDirectory(), and parseArguments().

+ Here is the call graph for this function:

Variable Documentation

◆ rsvgPath

string rsvgPath

Definition at line 29 of file IconSvgRenderer.py.

◆ artworkLayerPrefix

string artworkLayerPrefix

Definition at line 30 of file IconSvgRenderer.py.