cat /proc/<proc#>/status | grep VmSize
liefert für das frisch gestartete OSMwin2.pydef getLatLonForPixel(self, posXY,
handle=0):
self.osm.drawMap()
self.dc=wx.PaintDC(self)
imgbuf, (sx, sy),
self.refresh_needed=self.osm.getBitmap()
self.dc.DrawBitmap(imgbuf, sx, sy)
def
__newBitmap(self, handle=0): w, h=self.__getBitmapSize() print "__newBitmap 1-%d\n"%(handle,), self.v[handle].bmpbuf=wx.EmptyBitmapRGBA(w, h, 204, 204, 204, 1) print "__newBitmap 2-%d\n"%(handle,), self.v[handle].mdc=wx.MemoryDC() print "__newBitmap 3-%d\n"%(handle,), self.v[handle].mdc.SelectObject(self.v[handle].bmpbuf) print "__newBitmap 4-%d\n"%(handle,), |
[xcb]
Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. python: xcb_io.c:165: dequeue_pending_request: Zusicherung »!xcb_xlib_unknown_req_in_deq« nicht erfüllt. Abgebrochen |
Note: Note that the memory DC must be
deleted (or the bitmap selected out of it) before a bitmap
can be reselected into another memory DC. |