
Playing around with the new flood fill in the nightly builds (Inkscape 0.46dev+devel, built Aug 7 2007, Windows) I notice that it will sometimes fill only to edges visible on your screen.
I would expect it to fill all the way until it hits a line, even if that line is off screen. Is this a bug or a "feature"?

correct. the paint bucket tool only works on the visible portion of the canvas. the easiest was to add the rest of the fill (the part that is off the screen) is to scroll over there and do a shift+click with the pait bucket tool straight after the last fill. this will union the previous fill with the one you just did.
cheers,
ryanlerch
On 8/18/07, Axiom X11 <axiomx11@...155...> wrote:
Playing around with the new flood fill in the nightly builds (Inkscape 0.46dev+devel, built Aug 7 2007, Windows) I notice that it will sometimes fill only to edges visible on your screen.
I would expect it to fill all the way until it hits a line, even if that line is off screen. Is this a bug or a "feature"?
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user

Hmmm. I see that it is working that way, and the union does help, but manual editing is sometimes required to fit things together. Also notice when zooming in just a bit, it takes a *very* long time to fill.
Don't know if anyone here uses Flash, but the flood fill there is pretty much instant at all zoom levels, and fill to the edge of your lines, not just the screen.
Anyway, props for adding a fill, but hoping it can be improved.
-Brian
On 8/17/07, ryan lerch <ryanlerch@...155...> wrote:
correct. the paint bucket tool only works on the visible portion of the canvas. the easiest was to add the rest of the fill (the part that is off the screen) is to scroll over there and do a shift+click with the pait bucket tool straight after the last fill. this will union the previous fill with the one you just did.
cheers,
ryanlerch
On 8/18/07, Axiom X11 <axiomx11@...155...> wrote:
Playing around with the new flood fill in the nightly builds (Inkscape 0.46dev+devel, built Aug 7 2007, Windows) I notice that it will
sometimes
fill only to edges visible on your screen.
I would expect it to fill all the way until it hits a line, even if that line is off screen. Is this a bug or a "feature"?
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user

On 8/20/07, Axiom X11 <axiomx11@...155...> wrote:
Hmmm. I see that it is working that way, and the union does help, but manual editing is sometimes required to fit things together. Also notice when zooming in just a bit, it takes a *very* long time to fill.
Don't know if anyone here uses Flash, but the flood fill there is pretty much instant at all zoom levels, and fill to the edge of your lines, not just the screen.
I *think* Flash may be representing the drawing internally as a planar map rather than a typical z-ordered list of paths (or perhaps they maintain both simultaneously). That would mean they have O(1) access to all regions. It also sort of explains why shapes on the same layer cut each other in Flash, rather than simply lying on top of one another. The recent paper from Adobe talks about planar maps: http://doi.acm.org/10.1145/1275808.1276415 (sorry, couldn't find a free link). Storing the scene using planar maps also makes it easy to do the bucket fills completely seamlessly (in conjunction with a renderer like Flash's), vs how it works in inkscape currently with a little fringe around the edges.
--bb
participants (3)
-
Axiom X11
-
Bill Baxter
-
ryan lerch