Path: utzoo!utgpu!attcan!uunet!lll-winken!ncis.tis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!GARNET.BERKELEY.EDU!rusty From: rusty@GARNET.BERKELEY.EDU Newsgroups: comp.windows.x Subject: x_draw_line vs x_draw_segments Message-ID: <8904212112.AA13405@garnet.berkeley.edu> Date: 21 Apr 89 21:12:10 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: Computer Center, UC Berkeley Lines: 7 I have some code where it draws a bunch of lines, but it flip-flops between 2 GCs. For example, the odd lines use GC "a" and the even lines use GC "b". The code basically is just a "for" loop with an x_draw_line and a line of code to flip the gc. Would I reduce my overhead or anything by building up 2 x_segments for each GC and then use x_draw_segments? (If so, how much?)