Weather / Spam / www |
Lyon Weather
aldweb against spam
|
|
|
|
|
|
|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1489 |
way of setting pen width for LINE and BOX? |
22/11/2006 @ 02:32 by Dave O\'Brien
|
If there a way to set the pen width for the LINE and BOX commands?
I'm trying out a little kaleidoscope program and providing a choice of pen widths would be great.
In the meantime I'll try drawing multiple lines with x/y offsets, see if that works OK.
Cheers! |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 22/11/2006 @ 02:57 by bh77a
visitor |
Hi Dave,
Unfortunately, I don't think that there is. The setting of x/y offsets would be a viable choice.
I have written a drawing app in Plua (slightly similar to iziBasic) and I had to use x/y offsets for various pen widths to draw with. I have done the same for iziBasic with the pen routines in the graphics library that I am working on (someday it will see the light of day, perhaps as a collaborative project on the wiki).
Regards, Brian |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 22/11/2006 @ 19:14 by aldweb
visitor |
If there a way to set the pen width for the LINE and BOX commands?
Dave, I think that bh77a is right, there isn't anything like this. I did not checek extensively, but I even believe that Palm OS offers no standard API to set a pen width. So there will be no workaround with some simple PP applet. Then, going for x/y offsets would indeed be a viable choice.
But, dear Dave, maybe you need to switch to TinyLogo and play with the "Turtle" mode of this language...
I have written a drawing app in Plua (slightly similar to iziBasic) Interesting information dear bh77a. I have only played once with Plua for the purpose of my Bench2 analysis. Where do you consider that iziBasic has to improve when compared to Plua?
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 24/11/2006 @ 02:53 by bh77a
visitor |
In regards to the Plua/iziBasic comparison, each are very similar in functionality. Plua requires the seperate runtime, while iziBasic packages it into the app (I assume this is how it works with iziBasic).
iziBasic has a few features that Plua doesn't have in: - PP applets - ability to go 320x480 (provided by Khertan's applet) - built in runtime (see above) - better handling of math without need for mathlib.prc - more compilation parameters - more efficient handling of resource databases
Plua has a few features that iziBasic doesn't have in: - VFS support - easy doc database creation - export of screen to stream in RAM/ bitmap on card - screen buffer manipulation - sprites
Of course, all of the above areas can be "patched" through PP applets. |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 24/11/2006 @ 13:46 by aldweb
visitor |
Thanks bh77a, this comparizon chart is very interesting and appelling to me.
Of course, all of the above areas can be "patched" through PP applets.
Sure, thanks. But it is also true that most people using iziBasic do not want to work with another more sophisticated and less easy to use compiler.
And, once again, a development tool should be considered by leveraging a few parameters: my know-how in coding, my project's scope, the time I want to dedicate to it...
Cheers, aldweb
|
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|
|
|
|
|