home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18307 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.2 KB  |  44 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!noc.near.net!mv!world!aep
  3. From: aep@world.std.com (Andrew E Page)
  4. Subject: Re: ovals & friends
  5. Message-ID: <BxLu94.J9K@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <1drqjnINN6mm@darkstar.UCSC.EDU>
  8. Date: Thu, 12 Nov 1992 13:17:27 GMT
  9. Lines: 33
  10.  
  11. In article <1drqjnINN6mm@darkstar.UCSC.EDU> gil@cse.ucsc.edu (Elmer Fudd) writes:
  12. >howdi net,
  13. >
  14. >i have a coupla questions about drawing stuff.
  15. >
  16. >(1)  how do i draw an oval in different colors (not just patterns)
  17. >     what i do now is:
  18. >        SetRect ( &circleRect, 315, 235, 325, 245 );
  19. >    PaintOval ( &circleRect );
  20. >    FillOval(&circleRect, white);
  21.  
  22.        The last two calls can be accompished with 'FrameOval'.
  23. To change the color that the 'pen' will draw and fill in
  24. use 'ForeColor'.
  25.  
  26.  
  27. >     what i'd like to do is something like FillOval but with true
  28. >     colors.
  29. >
  30. >(2)  how do i set 1 pixel to on
  31. >
  32.  
  33.  
  34.    Try  MoveTo(x,y), Line(1,0)
  35.  
  36. >thanks
  37. >-gil
  38.  
  39.  
  40. -- 
  41. Andrew E. Page   (Warrior Poet) |   Decision and Effort The Archer and Arrow
  42. Mac Consultant                  |     The difference between what we are
  43. Macintosh and DSP Technology    |           and what we want to be.
  44.