Re: [cc65] TGI pixel aspect ratio

From: Groepaz <groepaz1gmx.net>
Date: 2009-10-28 18:55:43
On Mittwoch 28 Oktober 2009, Fatih Aygün wrote:
> Hi,
>
> Since it's agreed that the TGI interface will change in the near future,
> I think a way for the driver to share the pixel aspect ratio information
> with the main program could be a nice addition. For example Atari
> has 1:1, 2:1 and 4:1 modes.
>
> It could be just a signed char, negative values meaning that
> height > width. I know it's mathematically incorrect but it's handy. If
> there are platforms with 3:2 or similar ratios, it can be two unsigned
> chars, which is even more handy. Neither of them would be a great hassle
> to code and maintain.
>
> This way, users can draw circles instead of ellipses once the
> tgi_ellipse function is there, e.g., to draw pie charts and similar. Same
> is true for squares and rectangles.
>
> Any thoughts?

the c64 has a pixel aspect ratio of 0.936:1 ...

somehow it sounds overengineered to me to support that :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

The major difference between a thing that might go wrong and a thing that 
cannot possibly go wrong is that when a thing that cannot possibly go wrong 
goes wrong it usually turns out to be impossible to get at or repair. 
<Douglas Adams>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Oct 28 18:54:31 2009

This archive was generated by hypermail 2.1.8 : 2009-10-28 18:54:33 CET