home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14286 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  718 b 

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!warwick!uknet!edcastle!festival!asm
  2. From: asm@festival.ed.ac.uk (M Smyth)
  3. Newsgroups: comp.graphics
  4. Subject: Anti-A Code
  5. Summary: C code for Anti-Aliasing
  6. Keywords: Aliasing,C
  7. Message-ID: <30890@castle.ed.ac.uk>
  8. Date: 27 Jan 93 18:56:43 GMT
  9. Sender: nntpusr@castle.ed.ac.uk
  10. Lines: 5
  11.  
  12. Could anyone help in a problem I have? I have writen code in C to draw
  13. lines one the screen, unfortunately the lines are jagged. The code I'm
  14. using uses putpixel(x, y, color), how can I change the coding so that
  15. the various pixels around the specified pixel are set to the same colour
  16. but of a different intensity and thus giving me smoother lines?
  17.