elecman
Topic Author
Posts: 90
Joined: 20 Jul 2014, 04:28

PathGeometry support

26 Feb 2015, 02:27

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?
 
User avatar
sfernandez
Site Admin
Posts: 3184
Joined: 22 Dec 2011, 19:20

Re: PathGeometry support

26 Feb 2015, 11:54

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>
 
elecman
Topic Author
Posts: 90
Joined: 20 Jul 2014, 04:28

Re: PathGeometry support

26 Feb 2015, 14:24

Inkscape has no export option for this, but I will see if I can convert it to Canvas Clip.

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests