Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.apple Subject: Re: PPtoPort problem Message-ID: <17987@apple.Apple.COM> Date: 30 Sep 88 02:19:21 GMT References: <676@umbio.MIAMI.EDU> Reply-To: keith@apple.com.UUCP (Keith Rollin) Organization: Apple Computer Inc, Cupertino, CA Lines: 27 In article <676@umbio.MIAMI.EDU> rsherm@umbio.MIAMI.EDU (Roby Sherman) writes: >I've been working on a routine to PPToPort an image to the iigs screen. >Unfortunatly, the image does not begin in the upper left hand corner. I've >been setting my source rects to describe my image, but PPToPort keeps starting >with the upper left hand corner.. What am I doing wrong?? > >Thanks in advance, > Roby > Roby, There isn't anything tricky with using PPToPort, so it's likely that there is a bug in your parameters rather an anomaly (or bug) in PPToPort. You talk about the source rectangle, but not the source port or destination rectangle. Is it possible that the bounds- and port-rect of the source GrafPort are causing the foulup? Is the destination point specified as X&Y coordinates on the stack, and not as a pointer to a point or rectangle? Keith Rollin amdahl\ Developer Technical Support pyramid!sun !apple!keith Apple Computer decwrl/ "You can do what you want to me, but leave my computer alone!"