Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!sdcsvax!hutch From: hutch@sdcsvax.UUCP Newsgroups: comp.graphics Subject: Re: Bounding boxes and drawing dashed vectors in SunView Message-ID: <2769@sdcsvax.UCSD.EDU> Date: Fri, 27-Feb-87 02:39:41 EST Article-I.D.: sdcsvax.2769 Posted: Fri Feb 27 02:39:41 1987 Date-Received: Sat, 28-Feb-87 08:04:24 EST References: <2601@phri.UUCP> Reply-To: hutch@sdcsvax.UCSD.EDU (Jim Hutchison) Organization: UCSD EMU Project (Educational Microcomputer Unix) Lines: 22 <> include struct pixrect *frame; int high, wide; ... initialize with pr_open(), pr_load(), etc. ... wide = frame->pr_width; high = frame->pr_height; As to your lines, why not just use simple XOR? O.k, O.k, artistic ability must not be humbled. Well, how about replrop? Make a small 4 box checkerboard and then use it as the source for very narrow boxes (1 by x AND y by 1). That would do the trick since you are only rubberbanding boxes. -- Jim Hutchison UUCP: {dcdwest,ucbvax}!sdcsvax!hutch ARPA: Hutch@sdcsvax.ucsd.edu Never seems to be enough resolution, memory, or speed, now why is that?