Clipping should be done after filters

Bug #601760 reported by Will Pittenger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

I commonly have a lot of clipped objects with a blur applied. For an example, see http://commons.wikimedia.org/wiki/File:Homebush_Street_Circuit_%28Sydney,_Australia%29_track_map.svg. Look for the object #use6327. It is a clone whose parent is clipped. The clone has a filter (a blur) applied. If you look closely as Inkscape renders it, you will see that it stops the blur short of the top left corner. Yet the parent continues past the corner. Because of blurs (and possible other filter primitives), it is possible for an object that is completely outside the clip area to end up being partially visible inside the clip area. I don't know what the SVG standard calls for, but to me, clipping should only be done after filters are applied.

Revision history for this message
Will Pittenger (will-pittenger1) wrote :

My copy of the affected file

su_v (suv-lp)
tags: added: clipping filters-svg
Revision history for this message
su_v (suv-lp) wrote :

I'm not clear about your issue: is it
a) clipping should only be done after filters are applied (this is what I see in Inkscape), or
b) blurring a clone should be clipped as if the clipped original was blurred and not the clone?

tags: added: clones
Revision history for this message
Will Pittenger (will-pittenger1) wrote :

Either. As I noted, perhaps there should be a way to specify the order in which things are applied.

Revision history for this message
su_v (suv-lp) wrote :

Attaching reduced test case containing a clipped path with a clone:

a) blur applied to the original -> blur is clipped (on both the original and the clone)
b) blur applied to the clone itself -> not clipped

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.