On 1/22/07, Joshua A. Andler <joshua@...533...> wrote:
Bulia, as for the Mask tool... what is involved in that? Should we throw the info up on the wiki? My (overly simplified) guess is as follows:
- It duplicates current selection and applies back to the selection as
a mask. 2) The tool works like gradient tool to apply transparency, basically editing a gradient on the mask object.
I assume we'd just have a button on the toolbar to "remove transparency" or something to get rid of it too.
On reflection, I don't think we can rightfully call it "mask tool" if it can only do a special kind of mask - a gradient mask. So it would be more consistent - and easier to implement - to enable the existing Gradient tool to edit mask gradients too. Now it displays and can create two kinds of gradients - those on fill and stroke. Let's just add a third type: gradient on mask. They would add a third "on" button in the toolbar and would be displayed with a different color of nodes and/or gradient lines. All three kinds of gradients will be displayed at the same time (as they are now for fill and stroke) and can be snapped together. It should be also possible to have several mask gradients on the same object. When a new mask gradient is created, the tool would add a new white rectangle covering the whole object (perhaps even with some margins) to its mask and create/display gradient from white to transparent on it.
In a similar vein, we should enable the Node tool to edit both the object itself and its clipping path at the same time, probably displaying the clippath with a different color/shape of nodes. However, for this to happen, we first need to enable this tool to edit more than one nodepath at the same time. While cubmersome, this is not really so difficult, and it is in fact near the top of my TODO.
Thoughts?