Quote:
so is there a way to automatically fit the Warp Layer's source rectangle around an object?
Not possible. Warp layer works in a raster world. It means that it looks the layers below once they have been rendered. If it needs more precision it asks for a deep pixel subsampling but it doesn't know nothing about the geometry of the layers below.
...
Wait, there is one information that might be used somehow. There is one value used to render a boundary box around the selected layers I think it can be used for other layers to fit on the warp rectangle. It has one problem. If the layers below the warp layer changes its bounding rectangle (i.e. they get wider) then the warp layer would modify its render result if the warp rectangle follows this bounding rectangle.
In any case, currently there is not API to do that connection between the Warp layer and its context layers boundaries. It has to be coded in any case.
-G
_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you
can contribute!
