Menu
Search




Articles & Documents

Close Tutorials

Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
22 Subscribers
CPDB.Net

Friends News
Visits

   visitors

   visitor online

Webmaster - Infos
forum.gifForum - ppCompiler - Topic #30

Forum - Forum
ppCompiler - ppCompiler


active  Topic # 30  Screen pixels

10/06/2011 @ 20:18
by peterhenry

peterhenry



Great APP! I know it is "early days" but is there any way to draw pixels on the screen?


JollyGreen

  Website peterhenry Post an answer  Top

[]   

Answer n° 1
--------
10/06/2011 @ 23:20
by Philippe

Anonymous

visitor
For the moment, I do not know how to draw pixel on the screen. As soon as I find how to perform this, It will be implemented and documented.
Write to Philippe   Post an answer  Top
Answer n° 2
--------
26/06/2011 @ 14:44
by Pablo

Anonymous

visitor
I was wondering the same thing and was able to figure it out. Within any program on Pyaf, include the ArmAPI: {$i ArmAPI.pas}Make sure sync this file to your Palm from ArmAPI_pas.PDB in the NaPP304/include/ folder on your computer
Then use WinDrawPixel(x,y);  in your program.Set x,y as intergers. (x and y are the coordinates from the upper-left of the screen)
Check out the Palm OS SDK Reference.pdf for other command you are able to use.
  Post an answer  Top
Answer n° 3
--------
26/06/2011 @ 17:50
by Pablo

Anonymous

visitor
You will also have to find and change WinDrawPixel in ArmAPI.pas to read procedure WinDrawPixel(x,y: Coord); inline($E519C008, $E1A0E00F, $E59CFB2C); and remove // from the beginning. These additions can be taken from the Palm OS SDK Reference.pdf for other procedures and functions also.
Write to Pablo   Post an answer  Top
Answer n° 4
--------
28/06/2011 @ 11:29
by peterhenry

peterhenry

visitor
 Thanks but I want to be able to do this on Android not Palm. Anybody got any ideas?


JollyGreen

Write to peterhenry   Website peterhenry Post an answer  Top
Answer n° 5
--------
03/07/2011 @ 23:01
by Philippe

Anonymous

visitor
Android NDK gives some ideas on the way to generate code for graphical function. They will be tested and implemented. Please be patient until the end of summer vacations.
Write to Philippe   Post an answer  Top
Answer n° 6
--------
17/08/2012 @ 15:04
by ukimiku

Anonymous

visitor
Hi Philippe,

I am really looking forward to some graphics functions. Then Pepe might become my programming environment of choice.

Could you please tell us how much memory a Pepe application can use/reserve for variables, dynamic allocation... etc. on Android?

Thanks.

Regards,


Rectified by ukimiku 17/08/2012 @ 15:05


Rectified by ukimiku 17/08/2012 @ 15:05


Rectified by ukimiku 17/08/2012 @ 15:06
Write to ukimiku   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 




^ Top ^