jmunkki@kampi.hut.fi (Juri Munkki) (03/10/89)
I just got tired of all this talk about a deficiency in the Quickdraw ellipses. There's a very simple way to draw connected ellipses using Quickdraw... Here's a program that draws to ellipses. The first one has the expected gaps, but the second is connected. Maybe no one else thought of this solution? It takes longer to draw this way, but at least you get what you want. void main() { GrafPort MyPort; Rect TheOval; RgnHandle MyRgn; InitGraf(&thePort); InitCursor(); OpenPort(&MyPort); EraseRect(&MyPort.portRect); SetRect(&TheOval,10,10,502,30); FrameOval(&TheOval); MyRgn=NewRgn(); OpenRgn(); OffsetRect(&TheOval,0,30); FrameOval(&TheOval); CloseRgn(MyRgn); FrameRgn(MyRgn); DisposeRgn(MyRgn); while(!Button()); while(Button()); } _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ | Juri Munkki jmunkki@hut.fi jmunkki@fingate.bitnet I Want Ne | | Helsinki University of Technology Computing Centre My Own XT | ^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^