I cannot seem to find a flood fill in QT3 on linux.
I checked QPainter and can only find FillRect.
I cannot seem to find a flood fill in QT3 on linux.
I checked QPainter and can only find FillRect.
Qt doesn't allow flood filling. Use regions and/or clip your painter and then paint over it (meaning you have to know what you want to fill). A flood-fill algorithm is very expensive. Of course you can implement one yourself
Qt4 uses paths which are very convenient. Of cource that is if your app is in an entry state so that porting can be done easily.
Bookmarks