little help with glcd code

im trying to draw a straight line according to agiven angle but its not working !

Where is the code? What does the result look like?