Niko Kiirala schrieb: ...
Also, I'm thinking, that Filter::render and FilterPrimitive::render should be changed to take FilterUnits as an input instead of Matrix. This would give these functions more tools to figure out, where things should be placed, how large the affected area should be, where the bounding box corners are etc. ...
Hello Niko, Felipe,
in the file sp-shape.cpp function sp_shape_bbox() need to get information on filters on the item and adjust the bounding box if needed.
I am not so experienced how to do that and how SPItem is related to the filters SPObject and how SPItem can get the modified bbox from the filter back. So if you can implement this in one or the other way.
Currently an exported bitmap is cropped on the bbox on the sp_shape_bbox() without this adjustments.
HTH,
Adib. --