Drmew
01-19-2005, 07:25 AM
Is there a way I can count the number of pixils in an area that was filled by the floodfill in visual basic
Hopefully this isn't a homework assignment...
But anyway you don't need api functions to use different fillstyles...
Check out the zip attachment to this post:
http://www.xtremevbtalk.com/showpost.php?p=520040
Although it doesn't show how to floodfill an irregular area, it does demo the DrawStyles and FillStyles available in VB.
And if you type:
vb floodfill
..in Google you will find a VBHelper page that will show you how to use the FloodFill API to fill irregular areas.
Hopefully this isn't a homework assignment...
But anyway you don't need api functions to use different fillstyles...
Check out the zip attachment to this post:
http://www.xtremevbtalk.com/showpost.php?p=520040
Although it doesn't show how to floodfill an irregular area, it does demo the DrawStyles and FillStyles available in VB.
And if you type:
vb floodfill
..in Google you will find a VBHelper page that will show you how to use the FloodFill API to fill irregular areas.