Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!usc!jarthur!nntp-server.caltech.edu!bek-mc!rasnow From: rasnow@bek-mc.caltech.edu (Brian Rasnow) Newsgroups: comp.sys.mac.programmer Subject: Two quickdraw questions Message-ID: <1991Mar5.024828.3975@nntp-server.caltech.edu> Date: 5 Mar 91 02:48:28 GMT References: <3743.27CE88A0@blkcat.fidonet.org> <23453@well.sf.ca.us> Sender: news@nntp-server.caltech.edu Reply-To: rasnow@bek-mc.UUCP (Brian Rasnow) Organization: California Institute of Technology Lines: 21 Hello, 1. The Think C profiler indicates Line(1,1) is nearly twice as fast as Line(0,0) or Line(1,0) or (0,1). I am curious as to why, but what is the fastest way to draw a single pixel, ie. Point(x,y)? 2. After doing alot of drawing, I wish to put part of the screen on the clipboard. Is it true that I can turn a pixel map into a PICT format by CopyBits inside OpenPicture() and ClosePicture(). Since I have successfully implemented an offscreen GrafPort with its own PixMap for window updating, I can CopyBits to it -- simple, but all I get is an empty rectangle. The size of the Picture after the CopyBits is also too small to hold the PixMap. Any suggestions? Thanks in advance. ------------------- Brian Rasnow Caltech 216-76, Pasadena CA 91125 (818) 356-6818 rasnow@bek-mc.cns.caltech.edu rasnow@caltech.bitnet Peacenet: rasnow -------------------