30 May
2007
30 May
'07
11:41 a.m.
Florian Köberle wrote:
There is a way of getting a very precise flood fill:
- Join a copy of all the object to one big object.
- Create rect which is so huge like the whole document
- Use path/difference to get a flood fill for all positions.
- Put the different shapes of the result in thier own objects.
- Find out which of the result object has been clicked by the flood
fill operation and remove the other result objects.
Hi, Florian. Yes, this is the other way to do the fills, which others have talked about before and which I haven't had the time or knowledge of the Inkscape codebase to work on myself. There are some performance issues that would need to be addressed with this method, especially in documents which would need hundreds of paths to be unioned for each fill operation (not unusual for illustration work). However, a precise fill mode would be very nice to have for situations where bitmap fill wouldn't be totally appropriate, and where performance isn't a huge issue. :)
Thanks,
John