Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!pi3.local!blakec From: blakec@pi3.local (Carl D. Blake) Newsgroups: comp.windows.x Subject: XFillRectangles X Protocol error in R3 Message-ID: <9008272045.AA06156@pi3.local> Date: 27 Aug 90 20:45:21 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 26 I have been using XFillRectangles to draw up to approximately 20,000 rectangles and have been getting the following X Protocol error: X Protocol error: BadLength poly request too large or internal Xlib length error Major opcode of failed request: 70 (X_PolyFillRectangle) Minor opcode of failed request: 0 I have discovered that I can still draw the rectangles if I lower the number of rectangles I draw in one XFillRectangles call to something less than 8000 (9000 or greater lines causes the same error). This problem has probably been hashed over before and is probably fixed under R4, but I need to use R3. Is just lowering the number of rectangles to less than 8000 going to fix the problem for all time, or is it going to seek up on me under different circumstances? Also, do XDrawRectangles, XDrawLines, and XDrawPoints suffer from the same malady? Thanks for any help you can give me. ============================================================================== Carl D. Blake | My opinions are my own. I do not blakec%tuva.sainet@ccc.nmfecc.gov | represent SAIC in any way. Science Applications International | Tucson, AZ 85711-3796 602-748-7400 ==============================================================================