> how to check a pixel is either inside
> or outside or on a polygon...
> i need coding in c to apply this concept....

First you need to come up with a data structure to represent 
polygons.

Then you need an algorithm to work out whether a point is 
inside or outside the polygon. Defining "inside" would be a 
good start.

Then write some pseudo-code to apply the algorithm to the 
data structure, and check that it works properly with 
extreme cases.

Finally, convert the pseudo-code into C.

David

Reply via email to