Path: utzoo!attcan!uunet!husc6!mailrus!cornell!rochester!rit!ark From: ark@cs.rit.edu Newsgroups: comp.sys.mac.programmer Subject: Question about clipRect and OpenPicture Message-ID: <749@cs.rit.edu> Date: 8 Nov 88 17:53:49 GMT Sender: news@cs.rit.edu Reply-To: ark@cs.rit.edu (Alan Kaminsky) Followup-To: comp.sys.mac.programmer Organization: Rochester Institute of Technology, Rochester, NY Lines: 17 I was reading about the picture-related calls (OpenPicture, ClosePicture, etc.) in Inside Macintosh Volume I the other day. The description of OpenPicture said that if the grafPort's clipRect is set to the default arbitrarily-large clipping rectangle when a picture is opened, there may be problems later when the picture is drawn; it may happen that nothing appears. I found all this very obscure. Can someone (a) tell me why one can't use the default clipRect, and (b) post or send a code fragment (C or Pascal) that shows me everything I am supposed to do when I create a picture and when I draw the picture? Thank you for your support. Alan Kaminsky P. O. Box 9887 School of Computer Science Rochester, NY 14623 Rochester Institute of Technology 716-475-5255 ark@cs.rit.edu