Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!biar!trebor From: trebor@biar.UUCP (Robert J Woodhead) Newsgroups: comp.sys.mac.programmer Subject: Re: Bitmap not showing up in scrapbook Message-ID: <1006@biar.UUCP> Date: 3 Jan 90 06:02:34 GMT References: <700@sirius.ucs.adelaide.edu.au> Organization: Biar Games, Inc. Lines: 20 legg@sirius.ucs.adelaide.edu.au (Christian Legg) writes: > A friend of mine is having problems with displaying a bitmap that he has >saved in the scrapbook. He uses copybits to copy the bitmap into a PICT >resource which he then saves into the scrapbook. The scrapbook indicates >in the lower right hand corner that the item is a PICT, but does not display >it. Thou hast been bitten by that most egregious of monsters, the Immense ClipRect. When you create the grafport that you draw into to generate the picture, always set it's cliprect to just surround the area that will be drawn. Otherwise you get a huge cliprect (-32768,-32768,32767,32767) and the scrapbook and other programs go a little bonkers because of it. -- Robert J Woodhead, Biar Games, Inc. !uunet!biar!trebor | trebor@biar.UUCP Announcing TEMPORAL EXPRESS. For only $999,999.95 (per page), your message will be carefully stored, then sent back in time as soon as technologically possible. TEMEX - when it absolutely, postively has to be there yesterday!