XOR mode

Trevor Paquette paquette at cpsc.ucalgary.ca
Wed Jun 27 14:00:30 AEST 1990


  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 at cpsc.ucalgary.ca             | - engraved on the Kersa Blade of Esalon



More information about the Comp.sys.sgi mailing list