Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!tfs.UUCP!jason From: jason@tfs.UUCP (Jason Venner) Newsgroups: comp.windows.x Subject: ZPixmap, XPutImage question, X11R4 Message-ID: <9009181439.AA14042@ts2.TFS> Date: 18 Sep 90 14:39:23 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 18 In the PutImage code for ZPixmap's it specifically ignores the case where the image data is in bytes, and the bits in the bytes need to be reversed. Why is this? if (((image->byte_order == dpy->byte_order) || (image->bits_per_pixel == 8)) && ((long)image->bytes_per_line == bytes_per_dest) && ((req_xoffset == 0) || ((req_yoffset + req->height) < image->height))) { Data(dpy, (char *)src, length); if (shifted_src) Xfree((char *)shifted_src); return; }