[comp.windows.x] Help, creating a graphics widget.

cowan@dover.sps.mot.com (Andrew H Cowan) (11/14/90)

Here's a quick question (maybe it needs a long explanation, 
maybe not).  

I've created a widget that draws graphics into a pixmap, then
copies the pixmap to the window (much like the "bitmap" widget
in the O'Reilly book).  My window, however, doesn't contain the
graphics I expect...but what looks like a bunch of garbage.
Things are skewed all over the place, doesn't even remotely
resemble the graphics I'm trying to draw ( a simple rectangle
at the moment).

Anyone seen this problem before.  I seems like I'm very close to
getting it to work, but there's something missing.

-AC

        **                   /   \                   **
     ** **                  |     |                  **
     ** ** **                \___/                   ** **
     ********                                        ** **
      ******         __                  **          ****
        **        \_/oo\_/              ****         **
........**..........\||/................****.........**...........
Andy Cowan...........||.............cowan@soleil.sps.mot.com......