plz tell how to write the program for filling a polygon in electronic fashion and u may fill it with pixel and first generate a polygon as shown below then fill the polygon, all slope lines are 45 degrees.


__________________
| |
| |
| |
| |
| |
| |
| /\ |
| / \ |
| / \ |
| / \ |
| / \ |
| / \ |
|/ \ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\ |
\|