Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!blkcat!f421.n109.z1.fidonet.org!Ken.Knight From: Ken.Knight@f421.n109.z1.fidonet.org (Ken Knight) Newsgroups: comp.sys.mac.programmer Subject: Re: Drawing Pictures To Wi Message-ID: <3206.27A555BF@blkcat.fidonet.org> Date: 28 Jan 91 21:13:19 GMT Sender: ufgate@blkcat.fidonet.org (newsout1.26) Organization: FidoNet node 1:109/421 - The Twilight Clone, Paul Heller Lines: 21 rmiller@sbcs.sunysb.edu (Robert Miller) asks: >I've been working with Pictures and there is something Inside >Macintosh does not make clear to me: > >1. A picture saves a series of Quickdraw calls. Are these calls made >to the coordinate system defined by the rectangle the picture is drawn >in? That is, if I call DrawPicture(myPic, &myRec) and myRec.top and >myRec.left are negative, will the picture be drawn with the top and the >left side outside of the window? The co-ordinate system that is used is the one of the current grafport. The rectangle you give in a DrawPicture call says where, in that grafport, you want the picture to be drawn. So, assuming your average grafport the answer to your question is, "yes." -- Ken Knight, Ken.Knight@f421.n109.z1.fidonet.org via The Black Cat's Shack's FidoNet<->Usenet Gateway blkcat.fidonet.org and Fidonet 1:109/401