I may not understand exactly what SofaKing is asking but if you have the coordinates that make up the polygon you could make a polygon fill algorithm like MS paint can do.
This site has a tutorial which deals with the theory side of it: http://www.cs.rit.edu/~icss571/filling/index.html
Sorry though if I've misunderstood, it's late :)
This site has a tutorial which deals with the theory side of it: http://www.cs.rit.edu/~icss571/filling/index.html
Sorry though if I've misunderstood, it's late :)