Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!ut-sally!topaz!harvard!matthews From: matthews@harvard.UUCP Newsgroups: net.micro.mac Subject: bug in FillPoly? Message-ID: <664@harvard.UUCP> Date: Wed, 29-Jan-86 16:05:13 EST Article-I.D.: harvard.664 Posted: Wed Jan 29 16:05:13 1986 Date-Received: Sat, 1-Feb-86 06:08:52 EST Organization: Aiken Comp Lab, Harvard Lines: 32 We have found what seems to be a quickdraw bug. The code that triggers it is as follows (in C): PolyHandle ph; ph = OpenPoly(); MoveTo(2134,638); LineTo(-5000,-4954); LineTo(5000,2051); LineTo(1646,882); ClosePoly(); FillPoly(ph,white); This causes a violent system crash, with all sorts of screen-shaking and sound effects. We tried it in Aztec C's example program and in Macintosh Pascal, with identical effects. Substituting black for the pattern parameter and calling ErasePoly instead of FillPoly yielded the same result. Is this a known bug, and if so is there a known workaround? FillPoly is integral to the program we are developing, and so it very important for us to find out when we can count on it. Any and all help would be appreciated. Jim Matthews matthews@harvard.arpa Greg Kuperberg greg@harvard.arpa