Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
IconSvgRenderer Namespace Reference

Functions

 createDirectory (name)
 
 copyMergeDirectory (src, dst)
 
 getDocumentSize (svg_element)
 
 findChildLayerElement (parent_element)
 
 parsePlateLayer (layer)
 
 parseSVG (file_path)
 
 renderSvgRsvg (file_path, out_dir, artwork_name, rectangle, _doc_size)
 
 renderSvgIcon (file_path, out_dir)
 
 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
 
 printHelp ()
 
 parseArguments (argv)
 
 main (argv)
 

Variables

str rsvgPath = "./rsvg-convert"
 
str artworkLayerPrefix = "artwork:"
 

Function Documentation

◆ createDirectory()

createDirectory (   name)

Definition at line 50 of file IconSvgRenderer.py.

Referenced by main().

+ Here is the caller graph for this function:

◆ copyMergeDirectory()

copyMergeDirectory (   src,
  dst 
)

Definition at line 60 of file IconSvgRenderer.py.

◆ getDocumentSize()

getDocumentSize (   svg_element)

Definition at line 67 of file IconSvgRenderer.py.

◆ findChildLayerElement()

findChildLayerElement (   parent_element)

Definition at line 72 of file IconSvgRenderer.py.

Referenced by parseSVG().

+ Here is the caller graph for this function:

◆ parsePlateLayer()

parsePlateLayer (   layer)

Definition at line 80 of file IconSvgRenderer.py.

Referenced by parseSVG().

+ Here is the caller graph for this function:

◆ parseSVG()

parseSVG (   file_path)

Definition at line 93 of file IconSvgRenderer.py.

References findChildLayerElement(), and parsePlateLayer().

+ Here is the call graph for this function:

◆ renderSvgRsvg()

renderSvgRsvg (   file_path,
  out_dir,
  artwork_name,
  rectangle,
  _doc_size 
)

Definition at line 111 of file IconSvgRenderer.py.

Referenced by renderSvgIcon().

+ Here is the caller graph for this function:

◆ renderSvgIcon()

renderSvgIcon (   file_path,
  out_dir 
)

Definition at line 124 of file IconSvgRenderer.py.

References renderSvgRsvg().

+ Here is the call graph for this function:

◆ getTargetNames()

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 129 of file IconSvgRenderer.py.

◆ printHelp()

printHelp ( )

Definition at line 137 of file IconSvgRenderer.py.

Referenced by parseArguments().

+ Here is the caller graph for this function:

◆ parseArguments()

parseArguments (   argv)

Definition at line 141 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()

main (   argv)

Definition at line 151 of file IconSvgRenderer.py.

References createDirectory(), main(), and parseArguments().

+ Here is the call graph for this function:

Variable Documentation

◆ rsvgPath

str rsvgPath = "./rsvg-convert"

Definition at line 22 of file IconSvgRenderer.py.

◆ artworkLayerPrefix

str artworkLayerPrefix = "artwork:"

Definition at line 23 of file IconSvgRenderer.py.