diff options
| author | Ted Gould <ted@gould.cx> | 2006-05-02 05:23:50 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2006-05-02 05:23:50 +0000 |
| commit | 1b588d0f186720839f5b14f158bf0447391b17a5 (patch) | |
| tree | 3d9886ea85a424b2b6a94918e1aa18ecb6abe291 /src/extension/system.cpp | |
| parent | (bzr r664) (diff) | |
| download | inkscape-1b588d0f186720839f5b14f158bf0447391b17a5.tar.gz inkscape-1b588d0f186720839f5b14f158bf0447391b17a5.zip | |
r11259@tres: ted | 2006-04-07 21:55:33 -0700
Adding in the path effect to the INX file parsing.
(bzr r665)
Diffstat (limited to 'src/extension/system.cpp')
| -rw-r--r-- | src/extension/system.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/extension/system.cpp b/src/extension/system.cpp index ccf168446..f62089369 100644 --- a/src/extension/system.cpp +++ b/src/extension/system.cpp @@ -22,6 +22,7 @@ #include "input.h" #include "output.h" #include "effect.h" +#include "patheffect.h" #include "print.h" #include "implementation/script.h" /* #include "implementation/plugin.h" */ @@ -333,6 +334,7 @@ build_from_reprdoc(Inkscape::XML::Document *doc, Implementation::Implementation MODULE_OUTPUT, MODULE_FILTER, MODULE_PRINT, + MODULE_PATH_EFFECT, MODULE_UNKNOWN_FUNC } module_functional_type = MODULE_UNKNOWN_FUNC; @@ -359,6 +361,8 @@ build_from_reprdoc(Inkscape::XML::Document *doc, Implementation::Implementation module_functional_type = MODULE_FILTER; } else if (!strcmp(element_name, "print")) { module_functional_type = MODULE_PRINT; + } else if (!strcmp(element_name, "path-effect")) { + module_functional_type = MODULE_PATH_EFFECT; } else if (!strcmp(element_name, "script")) { module_implementation_type = MODULE_EXTENSION; #if 0 @@ -414,6 +418,10 @@ build_from_reprdoc(Inkscape::XML::Document *doc, Implementation::Implementation module = new Print(repr, imp); break; } + case MODULE_PATH_EFFECT: { + module = new PathEffect(repr, imp); + break; + } default: { break; } |
