home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!noc.near.net!mv!world!aep
- From: aep@world.std.com (Andrew E Page)
- Subject: Re: ovals & friends
- Message-ID: <BxLu94.J9K@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <1drqjnINN6mm@darkstar.UCSC.EDU>
- Date: Thu, 12 Nov 1992 13:17:27 GMT
- Lines: 33
-
- In article <1drqjnINN6mm@darkstar.UCSC.EDU> gil@cse.ucsc.edu (Elmer Fudd) writes:
- >howdi net,
- >
- >i have a coupla questions about drawing stuff.
- >
- >(1) how do i draw an oval in different colors (not just patterns)
- > what i do now is:
- > SetRect ( &circleRect, 315, 235, 325, 245 );
- > PaintOval ( &circleRect );
- > FillOval(&circleRect, white);
-
- The last two calls can be accompished with 'FrameOval'.
- To change the color that the 'pen' will draw and fill in
- use 'ForeColor'.
-
-
- > what i'd like to do is something like FillOval but with true
- > colors.
- >
- >(2) how do i set 1 pixel to on
- >
-
-
- Try MoveTo(x,y), Line(1,0)
-
- >thanks
- >-gil
-
-
- --
- Andrew E. Page (Warrior Poet) | Decision and Effort The Archer and Arrow
- Mac Consultant | The difference between what we are
- Macintosh and DSP Technology | and what we want to be.
-