Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Maximum lines in XDrawLines and XFillPolygons Message-ID: <8911101930.AA08920@expire.lcs.mit.edu> Date: 10 Nov 89 19:30:34 GMT References: <8911101905.AA05542@GIS.MIT.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 10 What is the maximum number of lines one can draw in a single XDrawLines call? It depends on the server, based on XMaxRequestSize(). All servers should accept at least 4093 points in a PolyLine, 4092 points in a FillPoly, and 2046 segments in a PolySegment. XDrawLines points: XMaxRequestSize(dpy) - 3 XFillPolygon points: XMaxRequestSize(dpy) - 4 XDrawSegments segments: (XMaxRequestSize(dpy) - 3) / 2