Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!ucbvax!AERO36.LARC.NASA.GOV!blbates From: blbates@AERO36.LARC.NASA.GOV (Brent Bates ViGYAN AAD/TAB) Newsgroups: comp.sys.sgi Subject: Re: sgi screen dpi Message-ID: <9105011313.AA04166@aero36.larc.nasa.gov> Date: 1 May 91 13:13:35 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 15 While we are on the subject, could you use: getgdesc(GD_XMMAX); /* Horizontal size of the screen in millimeters */ getgdesc(GD_YMMAX); /* Vertical size of the screen in millimeters */ getgdesc(GD_XPMAX); /* Horizontal size of the screen in pixels */ getgdesc(GD_YPMAX); /* Vertical size of the screen in pixels */ to get the screen resolution. How does the machine know the monitor size? Brent L. Bates Phone:(804) 864-2854 NASA-Langley Research Center FAX:(804) 864-6792 M.S. 361 Hampton, Virginia 23665-5225 E-mail: blbates@aero36.larc.nasa.gov or blbates@aero8.larc.nasa.gov