Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!quiche!monching From: monching@cs.mcgill.ca (Patrick WONG) Newsgroups: comp.sys.mac.programmer Subject: How does one clip a portion ofwith OpenPicture and ClosePicture? Message-ID: <1991Jan30.153703.7629@cs.mcgill.ca> Date: 30 Jan 91 15:37:03 GMT References: <1991Jan29.194323.7665@cs.umu.se> <91029.212938CXT105@psuvm.psu.edu> <1991Jan30.135624.7937@cs.umu.se> Sender: news@cs.mcgill.ca (Netnews Administrator) Organization: SOCS, McGill University, Montreal, Canada Lines: 18 I wish to create a PICT. I would be drawing in a large rectangle but only wish certain portions to be shown. So as I'm drawing there has be be a clipping region each time I draw something. This is what I do. I draw one graph which is cliped with a small rectangle. The graph may go outside the rectangle but isn't shown. I draw a second graph under the first graph with it's clip rect. If I use DrawPicture it is drawn correctly but I save it to a disk file. It seems that the clip region is no longer there. The graph is shown everywhere. Does anyone know why the clip region is not saved in the PICT file? -- patrick wong | McGill University monching@cs.mcgill.ca | School of Computer Science | Montreal, Quebec