Path: utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!tut!hydra!hylka!teittinen From: TEITTINEN@cc.helsinki.fi (Marko) Newsgroups: comp.sys.ibm.pc Subject: Re: Turbo C graphics Message-ID: <1315@cc.helsinki.fi> Date: 7 Nov 89 13:58:06 GMT References: <452@qmfl.jrdc.go.jp> Lines: 14 In article <452@qmfl.jrdc.go.jp>, 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. If I recall right I think there is a function named setwritemode() that is used to set graphics in xor/copy(normal) mode. To draw lines with xor-operation use setwritemode(XOR_PUT) and to restore original drawing mode use setwritemode(COPY_PUT). I'm not quite sure about this so look it up from the manual. -- E-Mail: teittinen@finuh.bitnet ! "Studying is the only way teittinen@cc.helsinki.fi ! to do nothing without Marko Teittinen, student of computer science ! anyone blaming you" -me