aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1379

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

actif  Sujet n° 1379  Box & BoxFilled

le 09/04/2006 @ 17:09
par Emerson

Anonyme



1) Why does the
BOX
command always draw boxes with thick lines even when HIGHRES 1 is set (compared to drawing with the
LINE
statement)?

2) In
HIGHRES 1
mode,
BOX 0,30 to 320,320
draws a box with the left border thin and the rest thick. This becomes fixed if I changed it to
BOX 1,30 to 320,320
.

3) Still in
HIGHRES 1
mode, BOX and BOXFILLED can start at 0,0 and end at 320,320 giving it a 321 pixel difference. Compared to LINE statement which can start at 0,0 and end at 319,319 which gives the correct 320 pixel difference.
  Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1
--------
le 09/04/2006 @ 22:22
par aldweb

Anonyme

visiteur
Hello Emerson,

1) I do not get the same effect when using my IBPlot sample application in my Tungsten C. Could you give me more material to analyse what's happening?

2) I will check that. But it is true that, for BOX and BOXFILLED, I use an API that draws with one pixel difference to the absolute coordinates. So, I remember dealing with it to correct it... that might be the reason why you find yourself with a 1 pixel difference between the BOXFILLED and the LINE statements.

Overall, I get the feeling that I should build a code that draws BOXes myself, using 4 LINEs instead of using the box API from Palm...

Cheers,
aldweb


@+
aldweb
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 10/04/2006 @ 17:15
par Emerson

Anonyme

visiteur
In SETRES 0 (screen is 160x160)
The BOX statement draws boxes with line thickness the same as using LINE itself.

But in SETRES 1 (screen is 320x320)
The BOX statement still draws the same thick bordered box. LINE on the other hand, draws thinner lines.

My device is a Treo 650.

For consistency with coordinates, I used LINE instead to replace both BOX and BOXFILLED. It's kinda slower actually (noticeable for BOXFILLED) but it works.
  Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^