int ipad=INTER_PLANES*2 - 1;
int ipad;
iplCreatePixmap (pScreen, width, height, depth)    ScreenPtr	pScreen;    int		width;    int		height;    int		depth;{    PixmapPtr pPixmap;    int datasize;    int paddedWidth;    int ipad=INTER_PLANES*2 - 1;    paddedWidth = PixmapBytePad(width, depth);    paddedWidth = (paddedWidth + ipad) & ~ipad;    datasize = height * paddedWidth;    pPixmap = AllocatePixmap(pScreen, datasize);    if (!pPixmap)	return NullPixmap;    pPixmap->drawable.type = DRAWABLE_PIXMAP;    pPixmap->drawable.class = 0;    pPixmap->drawable.pScreen = pScreen;    pPixmap->drawable.depth = depth;    pPixmap->drawable.bitsPerPixel = BitsPerPixel(depth);    pPixmap->drawable.id = 0;    pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;    pPixmap->drawable.x = 0;    pPixmap->drawable.y = 0;    pPixmap->drawable.width = width;    pPixmap->drawable.height = height;    pPixmap->devKind = paddedWidth;    pPixmap->refcnt = 1;#ifdef PIXPRIV    pPixmap->devPrivate.ptr = datasize ?		(pointer)((char *)pPixmap + pScreen->totalPixmapSize) : NULL;#else    pPixmap->devPrivate.ptr = (pointer)((long)(pPixmap + 1));#endif    return pPixmap;}