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