Xref: utzoo comp.sys.mac.programmer:6270 comp.graphics:5647 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!alan From: alan@Apple.COM (Alan Mimms) Newsgroups: comp.sys.mac.programmer,comp.graphics Subject: Re: Region implementation Message-ID: <1833@internal.Apple.COM> Date: 12 May 89 22:28:20 GMT References: <45600@XAIT.Xerox.COM> Distribution: usa Organization: Apple Computer Inc, Cupertino, CA Lines: 22 In article <45600@XAIT.Xerox.COM> jane@XAIT.Xerox.COM (Jane Eisenstein) writes: >A friend of mine is faced with porting a Macintosh program which makes >extensive use of regions to the IBM/PC. Can anyone point me to an >explanation of how arbitrary regions are (or could/should be) implemented? You'll find a pretty general version written in C which is ALMOST as good as QuickDraw's regions in the X11 release. You can find anyone who claims to be an "X Windows Weenie" and get the sources to server/include/region.h, server/include/regionstr.h, server/ddx/mi/miregion.c. That (I think) contains pretty much all you'll need. There are a few other .h files that'll contain definitions for things like boxes and points, but you can mostly figure them out from context. Hope this helps. -- Alan Mimms My opinions are generally Communications Product Development Group pretty worthless, but Apple Computer they *are* my own... "The company has new jobs and Jobs has a new company" -- Harry Anderson