Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!husc6!spdcc!bloom-beacon!sparky.UUCP!jdi From: jdi@sparky.UUCP (John Irwin) Newsgroups: comp.windows.x Subject: Re: physical screen dimensions on a Sun Message-ID: <8811020127.AA04368@sparky> Date: 2 Nov 88 01:27:52 GMT References: <1492@titan.> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 18 Your message: This is an on-the-fly mod of a subroutine I keep around for getting info about sun screens: ... *type = fb.fb_type; *width = fb.fb_width; *height = fb.fb_height; *depth = fb.fb_depth; *cmsize = fb.fb_cmsize; /* colormap size */ *size = fb.fb_size; /* ?? */ ... -------- Unfortunately, width and height here refer to the number of *pixels*, not the physical dimensions in linear inches. -- John