steveg@tove.umd.edu (Steve Green) (06/22/89)
I am making a simple modification to the X11R3 server in which I am trying call (*pGC->PutImage)(pWin, pGC, 1, x, y, width, height, 0, XYBitmap, bits) I dont think that I have the source bits in the correct format..I seem to be getting the image offset by 1 byte. What is the format of bits...Pixmap? Bitmap? How do I call XCreatePixmatFromBitmapData from this point? (assuming I need to). -steve green ..uunet!tove.umd.edu!steveg steveg@tove.umd.edu
rws@EXPO.LCS.MIT.EDU (07/03/89)
(*pGC->PutImage)(pWin, pGC, 1, x, y, width, height, 0, XYBitmap, bits) What is the format of bits...Pixmap? Bitmap? The format is as you specify (in the call cited, bitmap format). The formats are as described in the X protocol (see PutImage and Connection Setup).