[SDL] "Perfect" circles
roman.kyrylych at gmail.com
Wed Nov 8 07:29:16 PST 2006
2006/11/8, David Olofson <david at olofson.net>:
> The bad news is that lots of people are using 1280x1024 instead of
> 1280x960 on 4:3 CRTs. Meanwhile, there *are* 5:4 monitors (even CRTs,
> altough I think those are rare these days), so you cannot just assume
> that 1280x1024 means pixels are non-square.
> The only chance of getting it right (on properly configured systems)
> would be to ask the system. I'm not sure there is a portable way of
> doing this. Maybe something that SDL could handle?
Under X there can be different DPI for vertical and horizontal resolution.
Also there is an option in X which sets _physical_ size of monitor's
I doubt there is such way for Windows, but maybe for Mac OS X there is.
Roman Kyrylych (Роман Кирилич)
More information about the SDL