Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!linus!philabs!ttidca!kevin@drogges.tti.com From: kevin@drogges.tti.com Newsgroups: comp.windows.open-look Subject: large canvases in XView Message-ID: <27125@ttidca.TTI.COM> Date: 23 Jun 91 19:01:30 GMT Sender: kevin@ttidca.TTI.COM Organization: Citicorp/TTI, Santa Monica Lines: 21 I have several hundred lines of text data, and I want the user to be able to select a line from the scrolling canvas, and I then draw a little box around it. Unfortunately, the "easy" way, which is to allocate a large enough pixmap for all of the lines of text, and then use the repaint proc to do "XCopyPlanes" into the damaged region, requires a lot of memory. Is there a more economical way to do this? Text sub-windows don't seem to do the trick, because I need to do XLib graphics. I've tried allocating a 1-plane pixmap to save space, but i can't seem to be able to do the XCopyPlane onto the XView canvas without getting a protocol error. At this time, i don't CARE about matching foreground or background colors - black&white will do. Any tricks i'm missing? Many thanks -- Kevin Carothers {psivax,philabs,retix}!ttidca!kevin