Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!kaukau.comp.vuw.ac.nz!virtue!ccc_ldo From: ccc_ldo@waikato.ac.nz (Lawrence D'Oliveiro) Newsgroups: comp.sys.mac.programmer Subject: Re: question about QuickDraw regions Message-ID: <199.25ed68c3@waikato.ac.nz> Date: 1 Mar 90 06:22:36 GMT References: <850@eplunix.UUCP> Lines: 10 If I may quote from the Old Testament, page I-182: "CloseRgn does *not* create the destination region: space must already have been allocated for it." In other words, CloseRgn acts like every other call that takes one or more region arguments: you've got to allocate the regions first, using NewRgn, and dispose of them after use, with DisposeRgn. In other words--yes, your code will always work.