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

Move clipped path but not the clip mask itself

29 Oct 2017, 03:40

I have a path which is clipped by another path. I want to move the path, but keep the clip mask position static. However, if I move the path, the clip path moves with it. How do I stop the clipping mask from moving with the shape?

It has to be done in code (C#).

If only moving the shape but not the clip mask is not possible, perhaps I can move the shape and then move the clip mask back. That would have the same effect. I don't see how this can be done in code though, because adding a name property to the clip path is not allowed so I can't get a handle to it.
 
elecman
Topic Author
Posts: 90
Joined: 20 Jul 2014, 04:28

Re: Move clipped path but not the clip mask itself

29 Oct 2017, 17:53

Never mind, I figured it out. In Inkscape, group a couple of objects together, then clip the group. Now you can move the individual objects in NoesisGUI without moving the clip mask itself.
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Move clipped path but not the clip mask itself

30 Oct 2017, 13:52

That was what I was going to suggest, to clip the container and move the children inside.
Setting this as solved.

Who is online

Users browsing this forum: Google [Bot] and 66 guests