AtonalPanic
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
Fill irregularAtonalPanic 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 passel 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. http://www.xtremevbtalk.com/t128866.html 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. Edit: 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. http://www.xtremevbtalk.com/t152415.html http://www.xtremevbtalk.com/t151610.html |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum