home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!well!well.sf.ca.us!shf
- From: shf@well.sf.ca.us (Stuart H. Ferguson)
- Subject: Aspect ratio from display database -- How?
- Message-ID: <shf.721983639@well.sf.ca.us>
- Sender: news@well.sf.ca.us
- Organization: Whole Earth 'Lectronic Link
- Date: Tue, 17 Nov 1992 07:00:39 GMT
- Lines: 17
-
- I want to open a screen that mimics the Workbench so my program will run
- under the user's prefered display configuration. I think I understand
- about public screen and mode-id's and the display database.
-
- My question is about aspect ratio. I used to get the pixel aspect ratio
- from GfxBase. NormalDPMX and NormalDPMY gave me numbers that I would
- rationalize to the display mode I was using (divide by two for interlace,
- multiply by two for hires, etc.). Seems to me that these numbers are
- no good now, since monitors and display modes can have unknown effects
- on pixel size and shape. But I can't find where the information I need
- is located. The various data that can be retrieved for mode-id's from
- the database have no obvious analogue to the old Dots-Per-Meter of 1.3.
-
- What do I do? Thanx.
- --
- Stuart Ferguson (shf@well.sf.ca.us)
- Prepare to Surge to Sublight Speed!
-