iPhone - DrawLine doesn't seem to work correctly

Previous topic - Next topic


Drawline origin seems to be off by half the screen size when compiled and run on the iPhone.  The following codes draws a line from one corner of the iphone screen to the other

Drawline 0,0,320,480,RGB(255,255,255)

This run fine on the PC, but when run on the iPhone the line starts in the middle of the screen and ends at the bottom right hand corner.