Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!van-bc!ubc-cs!alberta!arcsun.arc.ab.ca!calgary!cpsc!paquette From: paquette@cpsc.ucalgary.ca (Trevor Paquette) Newsgroups: comp.sys.sgi Subject: XOR mode Message-ID: <1990Jun27.040030.17013@calgary.uucp> Date: 27 Jun 90 04:00:30 GMT Sender: news@calgary.uucp (Network News Manager) Organization: The University of Calgary Lines: 16 Is there a cheap and dirty way to get XOR mode when doing a draw(), sboxf() or even bgnline()..endline()? I am porting an application that uses alot of the sunview 'PIX_SRC|PIX_DST' modes when writing to the screen. As far as I know about the sgi there is no 'built in' XOR mode for doing lines and/or block writes. I really don't want to write my own bres' algorithm for lines, checking for pixels along the way and XORing them myself, nor do I want to do that for each pixel in a block write. Can this be done easily? or should have have another go through the manuals and see what I missed. Trev ___________________________________________/No man is a failure who has friends Trevor Paquette ICBM:51'03"N/114'05"W|I accept the challange, body and soul, {ubc-cs,utai,alberta}!calgary!paquette|to seek the knowledge of the ones of old paquette@cpsc.ucalgary.ca | - engraved on the Kersa Blade of Esalon