Path: utzoo!utgpu!watmath!clyde!att!rutgers!ucsd!sdcsvax!ucsdhub!esosun!seismo!uunet!muddcs!mwilkins From: mwilkins@muddcs.Claremont.EDU (Mark Wilkins) Newsgroups: comp.sys.mac.programmer Subject: Screenbits.Bounds validity Summary: HELP! Message-ID: <1295@muddcs.Claremont.EDU> Date: 20 Nov 88 10:52:07 GMT Reply-To: mwilkins@muddcs.UUCP (Mark Wilkins) Distribution: comp.sys.mac.programmer Organization: Harvey Mudd College, Claremont, CA Lines: 14 I have been working up a quick hack to display PICT ID=0 files (like startup screens and grayview files) on a Macintosh II, in color, with a black background, no menubar, and a white frame around the picture. So far so good, but my program attempts to center the image by taking the dimensions in the PICT resource, subtracting them from the dimensions in screenbits.bounds (YES I'm being unorthodox) and dividing by 2 to find the offset for the image. Is it possible that the OpenPort command leaves the coordinate system slightly offset from what I assume it to be, that is, the upper left hand corner of my only monitor being (0,0)? Please E-mail. -- Mark Wilkins