Tue, 09 Oct 2007 10:20:18 +0200 Adib Taraben <taraben.a@...1512...> kirjoitti:
there is some strange thing now using filters. If the object has to calculate the bounding box the modification of the filters is ignored. You can simply check this by blurring an object and then do a bitmap copy of that object. You will see the sharp cutted borders around the originals object bounding box.
What we need is that the filters connected to an object will tell the modification to the bounding box.
Is that possible?
Yes, this is an old problem. When a filter is applied, the visual bounding box propably should be equal to bounding box of filter effects area. This causes other problems, though: if you for example use a blending mode, the object doesn't appear any larger than before, but this method would make the visual bounding box larger.
Yes, it's possible, just has to be implemented. There is already a suitable (though not finished) helper function for that in nr-filter.cpp