[comp.sys.mac.programmer] Screenbits.Bounds validity

mwilkins@muddcs.Claremont.EDU (Mark Wilkins) (11/20/88)

    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