home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / 11625 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!newsflash.concordia.ca!IRO.UMontreal.CA!matrox!altitude!gelinas
  3. From: gelinas@CAM.ORG (Daniel Gelinas)
  4. Subject: Drawing in the background.
  5. Message-ID: <BxF4t6.AuF@CAM.ORG>
  6. Summary: Drawing in the background
  7. Organization: Communications Accessibles Montreal, Quebec Canada
  8. Date: Sun, 8 Nov 1992 22:22:18 GMT
  9. Lines: 22
  10.  
  11. I was wondering if any of guys guys could help me out with something 
  12. that I would like to try.  The goal of my program( in C) is to draw
  13. 4 laser beams(one from each corner of the screen) shooting out and
  14. spelling a word.  My only problem is when I try to do this normally
  15. I have to use 1 function to draw a line in green, and then I use the
  16. same function to draw another line in black.  This way the laser beam
  17. s can move around.  That's all fine and dandy but it won't work with
  18. 4 laser beams because when I write over them in black it also writes
  19. of everything else on the screen.
  20.  
  21. I've figered out that to fix this, I can use the different graphics pages
  22. and switch between them, having the writting(or product of the beams) on
  23. one page, and the beams on the next.  But I need to get an efficient 
  24. routine that will do this with very little 'flicker' when switching. 
  25.  
  26. I would GREATLY appreciate any help I can get.
  27.  
  28. btw: Is there another news group I could post this to if this is not the
  29. right one?
  30.  
  31. Daniel Gelinas
  32. gelinas@altitude.cam.orgg
  33.