From 89cf10eee372c34e9b970f71d3f38ef011aebf48 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Tue, 21 Oct 2014 00:52:56 +0200 Subject: Some style changes to seamles pattern extension (bzr r13341.1.284) --- share/extensions/seamless_pattern.py | 4 ++-- share/extensions/seamless_pattern.svg | 32 ++++++++++++++++++++++---------- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/share/extensions/seamless_pattern.py b/share/extensions/seamless_pattern.py index d04675b6b..f48de954a 100644 --- a/share/extensions/seamless_pattern.py +++ b/share/extensions/seamless_pattern.py @@ -151,9 +151,9 @@ class C(inkex.Effect): namedview.set(inkex.addNS('document-units', 'inkscape'), 'px') - namedview.set(inkex.addNS('cx', 'inkscape'), str((width*8)/2.0) ) + namedview.set(inkex.addNS('cx', 'inkscape'), str((width*5.5)/2.0) ) namedview.set(inkex.addNS('cy', 'inkscape'), "0" ) - namedview.set(inkex.addNS('zoom', 'inkscape'), str(0.5 / (((width+height)/2)/100.)) ) + namedview.set(inkex.addNS('zoom', 'inkscape'), str(1.0 / (width/100.0)) ) c = C() c.affect() diff --git a/share/extensions/seamless_pattern.svg b/share/extensions/seamless_pattern.svg index 1fe4fc5ec..7ed009394 100644 --- a/share/extensions/seamless_pattern.svg +++ b/share/extensions/seamless_pattern.svg @@ -1,9 +1,15 @@ - - + + + + + + + + @@ -18,9 +24,9 @@ - Pattern - Pattern - Pattern + Seamless Pattern + Seamless Pattern + Seamless Pattern @@ -30,8 +36,14 @@ - - + + + + @@ -64,11 +76,11 @@ - + - Use "design top" layer and "design bottom" layer inside the seamless pattern todesign, bottom for backgrounds and top for top draws. Go to root layer to use or convert to inkscape pattern. Use clones to sure is the correct patternFor document share patterns you need to convert to pattern the original and you can't edit later in a seamless way - Seamless pattern + Seamless pattern + You can use "design top" layer and "design bottom" layer inside this seamless pattern to design.Go to Patern -root- layer to use the seamless patern. -- cgit v1.2.3