- QPixmap * buffer = new QPixmap(128, 128);
-// RS_PainterQt * painter = new RS_PainterQt(buffer);
- QPainter qpntr(buffer);
+ // Ugh. This is a mess and doesn't work right anyway...
+ // Problem is StaticGraphicView doesn't follow a standard rendering path,
+ // so all this crap just ends in failure. Not sure how to fix.
+/**
+I suppose one way to do it would be to make a CreateImage() function in GraphicView,
+then we wouldn't have all this messiness...
+I think the way the redraw works is like that--it creates its own PaintInterface
+and QPainter and sets "painter" equal to it... That being the case, it would be
+a simple matter to modify StaticGraphicView to utilize that... Let's see...
+Which it should be doing, but, for some reason, it fails. Dunno why.
+
+It only fails for certain DXFs. Dunno why.
+*/
+
+ QPixmap buffer(128, 128);
+ QPainter qpntr(&buffer);