Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!microsoft!t-benw
From: t-benw@microsoft.UUCP (Benjamin Waldmin)
Newsgroups: comp.sys.mac.programmer
Subject: Offseting a picture with DrawPicture
Keywords: DrawPicture problem clipping PICT
Message-ID: <1578@microsoft.UUCP>
Date: 29 Jun 88 22:01:57 GMT
Reply-To: t-benw@forward.UUCP (Benjamin Waldman)
Organization: Microsoft Corporation, Redmond, WA
Lines: 17


	A friend of mine is having a problem (which I remember reading
about on the net a while ago, although I forgot the solution).

He's reading in a picture from a PICT file (yes, and skipping th 512
byte header), finding out its bounding rect, using OffsetRect, and
using DrawPicture to draw the picture in the new rect.  The problem is that
nothing is printing out.

He's drawing to a printer, and is using ClipRect before the DrawPicture
to set the clipping region to the entire page (rPage).  Does the picture
have info about its own clipping region that is conflicting with the new
one?

Thanks,
Ben Waldman
!uw-beaver!microsoft!t-benw