diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-10-25 04:52:48 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-10-25 04:52:48 +0000 |
| commit | 6e48d95c95dde44568d5cd12ac15c649f303dc17 (patch) | |
| tree | 2e79966d9a8cfa55fda94db2861e96449b86078a /src/splivarot.cpp | |
| parent | fix 1574873 (diff) | |
| download | inkscape-6e48d95c95dde44568d5cd12ac15c649f303dc17.tar.gz inkscape-6e48d95c95dde44568d5cd12ac15c649f303dc17.zip | |
preserve clip/mask for stroke-to-path also
(bzr r1859)
Diffstat (limited to 'src/splivarot.cpp')
| -rw-r--r-- | src/splivarot.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 252a2432d..9aec69575 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -631,6 +631,8 @@ sp_selected_path_outline() float const scale = transform.expansion(); gchar *style = g_strdup(SP_OBJECT_REPR(item)->attribute("style")); SPStyle *i_style = SP_OBJECT(item)->style; + gchar const *mask = SP_OBJECT_REPR(item)->attribute("mask"); + gchar const *clip_path = SP_OBJECT_REPR(item)->attribute("clip-path"); float o_width, o_miter; JoinType o_join; @@ -762,6 +764,10 @@ sp_selected_path_outline() repr->setAttribute("d", str); g_free(str); + if (mask) + repr->setAttribute("mask", mask); + if (clip_path) + repr->setAttribute("clip-path", clip_path); if (SP_IS_SHAPE(item) && sp_shape_has_markers (SP_SHAPE(item))) { |
