Christopher Cave wrote:
> I have so far is that, if the window is WxH pixels and the SCALE is
> 100,0,0, then the x-axis runs from 0 to 74*(W/H).
No, it runs from 0 to
W * scale_factor
----------------
H * aspect ratio
Aspect ratio is 1.355 for PAL systems and 1.173 for NTSC.
So, it's W/H*100/1.355 in this case.
> But tests with LINE 0,0 TO 74*(W/H),100 do not quite produce a
> diagonal line except where the window is the whole screen.
LINE 0,0 TO 100,100 (or TO 74, 74) is supposed to draw a diagonal
line, because as you see, the aspect ratio etc is already handled.
However, higher PC resolutions like 640x480, 800x600 etc. have another
aspect ratio. As still the PAL factor is used, circles and lines look
wrong.
Marcel