Fill irregular

01-22-2005, 04:03 PM
I'm making a vector graphics game, and I need an extremly fast function to insert color between irregular shaped polygons. Thanks

01-24-2005, 07:25 AM
I assume you need to floodfill an area.

Checkout posts 5 and 10 in this thread. Depo had problems with it for some reason, but the examples
I posted worked fine for me.

Another possible option (I'm guessing at the moment, because I can't check) would be to use a
different API call to draw a filled polygon, rather than draw the polygon and then fill it. It might be
faster that way.

I did look around a bit on the forum and I did post at least two examples where I used the
polygon API call. They can be found in these threads.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum