Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!uunet!mcsun!hp4nl!eurtrx!euraiv1!rener From: rener@cs.eur.nl (Rene Roelofs) Newsgroups: comp.sys.ibm.pc Subject: Re: Turbo C graphics Message-ID: <1989Nov2.125005.12089@cs.eur.nl> Date: 2 Nov 89 12:50:05 GMT References: <452@qmfl.jrdc.go.jp> Organization: Erasmus University Rotterdam, dept. EUR/EF/CS (Informatica) Lines: 21 spee@qmfl.jrdc.go.jp (Paul SPEE) writes: >A friend of mine wants to know whether it is possible to draw >lines xor'ed with the screen in Turbo C. the routine setwritemode set the writing mode for graphics line drawing void far setwritemode(int mode) mode = 0 : overwrite = 1 : perform XOR put. I used this for drawing lines across a picture and removing the line again with the same routine. This works fine and fast. ( I'm talking about TC 2.0 here BTW .. ) -- |-----\ Rene Roelofs | | Dept. of Computer Science /|-----/ Erasmus University Rotterdam, The Netherlands \| \ uucp: mcvax!hp4nl!eurtrx!euraiv1!rener /| \