android
Prev Previous Post   Next Post Next
  #23  
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?

Quote:
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.
-screen.drawline(0,0,400,240,clBlack);
is this correct?
draws a line from pixel 1,1 to 400,240


Quote:
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]
or
the value of x,y is [1..400] [1..240]
Reply With Quote

 

Tags
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 08:40 AM.