Difference between revisions of "LivePathEffects Discussion"

From Inkscape Wiki
Jump to navigation Jump to search
Line 3: Line 3:
= What's it look like in SVG? =
= What's it look like in SVG? =


Simple idea:
==Simple idea==
<pre>
<pre>
     <path
     <path
       original-d = "..." (the original path that now has an applied effect)
       original-d = "..." (the original path that now has an applied effect)
       d="..."  (the output of the live-effect)
       d="..."  (the output of the live-effect)
      inkscape:path-effect="..." (string with the name of the applied effect)
      inkscape:path-effect-param1= ...  (can be anything)
      inkscape:path-effect-param2 , etc
    />
</pre>
== Nested idea ==
work in progress...
<pre>
    <path
      d="..."  (the output of the live-effect)
      <inkscape:path-effect
          effect="..." (string with the name of the applied effect)
          <inkscape:path-effect-param1
            <path
                d = "..." (the original path that now has an applied effect)
            />
          />
          <inkscape:path-effect-param2 , etc
      />
     />
     />
</pre>
</pre>

Revision as of 20:34, 15 April 2007

Discussion page for Johan's Live Path Effects project for GSoC2007.

What's it look like in SVG?

Simple idea

    <path
       original-d = "..." (the original path that now has an applied effect)
       d="..."  (the output of the live-effect)
       inkscape:path-effect="..." (string with the name of the applied effect)
       inkscape:path-effect-param1= ...   (can be anything)
       inkscape:path-effect-param2 , etc
    />

Nested idea

work in progress...

    <path
       d="..."  (the output of the live-effect)
       <inkscape:path-effect 
          effect="..." (string with the name of the applied effect)
          <inkscape:path-effect-param1
             <path
                d = "..." (the original path that now has an applied effect)
             />
          />
          <inkscape:path-effect-param2 , etc
       />
    />