Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!oakhill!dover!cowan From: cowan@dover.sps.mot.com (Andrew H Cowan) Newsgroups: comp.windows.x Subject: Help, creating a graphics widget. Message-ID: <2461@dover.sps.mot.com> Date: 13 Nov 90 20:35:34 GMT Reply-To: cowan@soleil.sps.mot.com.UUCP (Andrew H Cowan) Distribution: na Organization: Motorola SPS, Mesa, AZ Lines: 24 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......