Page 1 of 1

strange bug in DrawLine?

PostPosted: Sep 14, 2006 @ 4:07am
by Guest
If you draw line with one point is outside the screen, pocketfrog may draw it for different direction

try this:

int x1=226;
int y1=57;
int x2=253;
int y2=-94;
display->DrawLine(x1,y1,x2,y2,Color(0,0,0));

pocketfrog draw the wrong line. it looks likely this is related to x2,y2 are out of screen.

but for points below, x2,y2 are out of screen also, pocketfrog can draw the correct line:

x1= 237; y1= 59
x2= 332; y2= -79

why?

PostPosted: Sep 14, 2006 @ 5:56am
by Guest

PostPosted: Sep 14, 2006 @ 7:07am
by Guest

PostPosted: Sep 14, 2006 @ 10:50am
by Guest