[svg-developers] HOWTO: opposite clip

2010-07-31 Thread iliribur
Hi. I want to do opposite clipping. Everything outside clipping path should be visible. Masking is excluded here, as it is not supported yet by the WebKit. I can add shape covering whole drawing area to the clipping path, but reversing coordinates. Problem is: duplicated paths, transformation

[svg-developers] Re: HOWTO: opposite clip

2010-08-01 Thread iliribur
> Interesting question. It seems so natural that I wondered if I hadn't missed > a flag in the definition of the clip-path attribute that might not do exactly > that, but if it is there I don't see it. > Yes, simple flag clip-rule="zero" could do the thing. > But your reason for not using a m

[svg-developers] Re: HOWTO: opposite clip

2010-08-01 Thread iliribur
> It does seem strange that there is no easy way to reverse the clip-path. > Last week, I filed a feature request to add it in SVG 2; that doesn't > help right now, but it will make things easier in the future. > Yep, SVG 2 can do compositing, but I'm forced to use SVG 1.1 only since it is