This site is no longer active and is available for archival purposes only. Registration and login is disabled.

strange bug in DrawLine?


strange bug in DrawLine?

Postby Guest » Sep 14, 2006 @ 4:07am

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?
Guest
 


Postby Guest » Sep 14, 2006 @ 5:56am

Guest
 


Postby Guest » Sep 14, 2006 @ 7:07am

Guest
 


Postby Guest » Sep 14, 2006 @ 10:50am

Guest
 


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron