Page 1 of 1

PathGeometry support

Posted: 26 Feb 2015, 02:27
by elecman
Continuing from here:
viewtopic.php?f=3&t=604

Actually, I don't need to animate anything but I use it for clipping instead. If I create a path clipping mask in Inkscape, it exports it as PathGeometry.

What would be the fastest Inkscape->XAML->NoesisGUI workflow be if I want to create a static clipping path?

Re: PathGeometry support

Posted: 26 Feb 2015, 11:54
by sfernandez
Is there no option to export clipping geometry as an attribute in InkScape?

If your clipping path is static you can define it in the xaml as an svg command string, like this:
<Canvas Clip="M 100 100 L 300 100 L 200 200 z">
  <!-- .... -->
</Canvas>

Re: PathGeometry support

Posted: 26 Feb 2015, 14:24
by elecman
Inkscape has no export option for this, but I will see if I can convert it to Canvas Clip.