diff --git a/Scripts/Functions/Render/render_svg.sh b/Scripts/Functions/Render/render_svg.sh index f978fc5..f7fe93d 100644 --- a/Scripts/Functions/Render/render_svg.sh +++ b/Scripts/Functions/Render/render_svg.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# svg.sh -- This function performs base-rendition -# action for SVG files. +# render_svg.sh -- This function performs base-rendition action for +# SVG files. # # Copyright (C) 2009, 2010, 2011 The CentOS Project # @@ -23,14 +23,14 @@ # $Id$ # ---------------------------------------------------------------------- -function svg { +function render_svg { # Initialize the export id used inside design templates. This # value defines the design area we want to export. local EXPORTID='CENTOSARTWORK' # Verify the export id. - svg_checkExportId + render_svg_checkExportId "$INSTANCE" "$EXPORTID" # Check existence of external files. Inside design templates and # their instances, external files are used to refere the @@ -38,7 +38,7 @@ function svg { # background information is not available the image is produced # without background information. This is something that need to # be avoided. - svg_checkAbsref "$INSTANCE" + render_svg_checkAbsref "$INSTANCE" # Render template instance using inkscape and save the output. local INKSCAPE_OUTPUT="$(\ @@ -52,11 +52,5 @@ function svg { | sed -r "s!^Background (RRGGBBAA):(.*)!`gettext "Background"`: \1 \2!")" cli_printMessage "$(echo "$INKSCAPE_OUTPUT" | egrep '^Bitmap saved as' \ | sed -r "s!^Bitmap saved as:!`gettext "Saved as"`: !")" - - # Perform post-rendition action for svg files. - svg_doPostActions - - # Perform last-rendition action for svg files. - svg_doLastActions }