Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!mit-eddie!bu-cs!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!mupsy!liv-cs!phil
From: phil@mva.cs.liv.ac.uk
Newsgroups: comp.sys.mac.programmer
Subject: help needed dragging a non-rectangular PICT
Message-ID: <6095@mva.cs.liv.ac.uk>
Date: 6 Dec 88 17:30:34 GMT
Lines: 22
Organisation: Computer Science CSMVAX, Liverpool University

Attention Mac Programming experts!

I'm writing a program in which I'd like to drag a PICT across a background,
and have it update the background as I move the item across it.  Just like
the way that MacPaint et al do.  Any hints or pointers to how to do it
would be most appreciated.  My thoughts were to draw the items in the
background to an offscreen bitmap and use copybits when an update is required
(faster than re-drawing individual items?), but how do I draw the non-
rectangular "dragged" item without it erasing all sorts of stuff - if you
know what I mean.

To would be mailers - the ukc gateway refuses to mail stuff on to me, all
I get is a tantalising message containing the subject line.  If the mail
comes through Earn then it's usually OK.

Phil Jimmieson,           ***************************************************
Computer Science Dept.,   *                                                 *
Liverpool University,     * JANET : PHIL@UK.AC.LIV.CS.MVA                   *
Merseyside, England,      * ARPA  : PHIL%mva.cs.liv.ac.uk@cunyvm.cuny.edu   *
L69  3BX                  *                                                 *
                          * old address SQPHIL@UK.AC.LIV.CSVAX may work     *
(UK) 051-794-3689         ***************************************************