[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] Draw Box and Line do not align



Hello!
I am trying to write some general procedures for drawing tables, grids 
and similar graphics.
Theres something that I never realized before and that I cant find an 
explanation for.

The commands "Draw Box" and "Draw Line" on the same coordinates result 
in different positions:

Draw (y,x) type=vert-line
    begins to draw one (character-) line below
Draw (y,x) type=box

also the x position of type=box is one point more right than the x 
position of type=vert-line

That means
    Draw (2,2) type=box height=10 width=10
    Draw (2,2) type=vert-line height=10
    Draw (2,12) type=vert-line height=10

would result in something like this

 ________________________
 |                                               |
||                                              ||
||                                              ||
||                                              ||
||_______________________||
|                                               |

Is there any logic behind that which I am not aware of?

regards,

Marius

-- 
++++++++++++++++++++++++++++++++++++++++++++
Marius Giepz
topsystem Systemhaus GmbH
Europark A2
Adenauer Strasse 20
52146 Würselen
Germany
Phone : +49 2405 4670-0
email : mg@topsystem.de
++++++++++++++++++++++++++++++++++++++++++++  


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users