Fischland
Fischland: the flood fill algorithm is getting better
Submitted by mark on Sat, 2007-06-30 13:22. See all entries for![]() |
Wow! Using PDF output to generate a debug log was a great idea. Now that I can actually see what the algorithm is doing I have already solved three issues in a tenth of the usual time.
Now the only remaining issues are... the known ones! Which ain't few. |
Fischland: Flood Fill Frustration
Submitted by mark on Wed, 2007-06-27 00:18. See all entries forOh my, the flood fill algorithm is quite difficult to finish. But I guess I have found a nice way to debug it in the future, which was the hardest part in the past: Instead of printing lots of information on stdout, which I then try to relate to the objects shown on the screen, I am going to let the algorithm create a PDF document, which explains what it was doing.
Thanks to Cairo creating the PDF will be very simple, especially since Cairo's PDF output does not fail on stroke operations after the viewport was scaled. Let's hope that this is the light at the end of the tunnel.
Fischland: Rearrange slides and layer and flood fill fix
Submitted by mark on Sun, 2007-06-03 23:03. See all entries forThe order of layers and slides can now be edited in the tree view by using drag and drop. All the code for this is in the TOAD library itself which I do consider pretty cool. The behaviour is not perfect yet and needs some tuning in the future but: Here it is!
I have also fixed two issues with the flood fill tool and I am also quite happy with it.
So what's next?
- The flood fill tool still ignores
- transformation matrices in TFPath,
- more than two lines at an intersection (because of this it's not always possible to fill next to an already filled area) and
- other figures than TFPath like TFRectangle, TFGroup, etc.
- Snap to line: without this one has to close all gaps manually before the flood fill tool can be used.
- Switching between the selection and direct selection tool should not clear the selection.
- Fischland should save the open windows and their screen location for the next session.
- Remove the buttons which open the colour editor and the colour palette from the toolbox and provide the following three buttons instead:
- do not fill
- fill with stroke colour
- fill with fill colour
- Text editing must become easier and reuse the algorithms from TTextArea.
- New figures like rounded rectangles and speech bubbles.
- There are some issues when working with multiple views and it should also be possible to view different pages of the same document at the same time.
Now, that's quite a list. Guess I should set up something like Bugzilla again...
Fischland: Recent updates
Submitted by mark on Tue, 2007-05-29 14:43. See all entries forSo, what's going on?
- I have fixed two issues with the flood fill algorithm a week ago, but there are still some issues. One may even cause an assertion and abort the program. Urgh! I will leave it like this for a while.
- Since yesterday the selection and direct selection tools group do support undo/redo.
- Currently I am adding functionality to allow rearranging of slides and layers via drag and drop. This is something I've missed for quite some time and now I know how to actually implement it.
Fischland: Added Flood Fill (Alpha)
Submitted by mark on Fri, 2007-04-20 00:51. See all entries for![]() |
I have just added the flood fill algorithm to the Fischland repository.
There are a lot of interesting bugs, like the unfilled areas in the picture on the left which can not be filled or the outlines, which are not detected correctly, eg. the red area or the green area below to the right of it. |



- elektronische medien, find their site at