Article View: comp.sys.sgi.graphics
Article #53Re: Xor line drawing
From: Allan Schaffer
Date: Tue, 15 Dec 1992 21:08
Date: Tue, 15 Dec 1992 21:08
25 lines
1064 bytes
1064 bytes
bobbyc@surya.UWaterloo.CA (Bobby Chawla) said.. >Could someone tell me how to draw a line on the SGI Indigos in >Exclusive-Or mode? > >I would like to draw lines, and if the user does not require them, >then be able to erase them efficiently. > >I was looking at the documentation and could not find it anywhere :-(. check the manpage for "logicop(3G)" Something like this should work: logicop (LO_XOR); bgnline(); v3f(..); v3f(..); endline(); logicop (LO_SRC) /* back to default */ Allan -- Allan Schaffer aschaffe@sgi.com aschaffe@netcom.com
Technical Details
Message-ID:
<1glhguINNbes@fido.asd.sgi.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sgi!fido!holodeck.csd.sgi.com!aschaffeReferences:
<BzB14n.5xJ@undergrad.math.waterloo.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sgi!fido!holodeck.csd.sgi.com!aschaffe From: aschaffe@holodeck.csd.sgi.com (Allan Schaffer) Newsgroups: comp.sys.sgi.graphics Subject: Re: Xor line drawing Date: 15 Dec 1992 21:08:46 GMT Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 26 Message-ID: <1glhguINNbes@fido.asd.sgi.com> References: <BzB14n.5xJ@undergrad.math.waterloo.edu> NNTP-Posting-Host: holodeck.csd.sgi.com