home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15940 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.2 KB  |  28 lines

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