Prev Previous Post   Next Post Next
Old 07-01-2011, 04:22 AM
Kalle Kula Kalle Kula is offline
Junior Member
Join Date: May 2010
Posts: 39
Default The 401*241 screen?

screen.drawline(x, y, x2, y2, c);
Draws a line on the screen memory buffer from (x,y) to (x2,y2) in
the color c.
is this correct?
draws a line from pixel 1,1 to 400,240

touch.pos(): integer, integer;
If there has been a touch screen event, return the X, Y coords
of the event.
-x, y = touch.pos();
that is correct?
the value of x,y is [0..399] [0..239]
the value of x,y is [1..400] [1..240]
Reply With Quote


application, faq, lua, x-fi2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 03:32 PM.