Man Page: xcreatepixmapfrombitmapdata
Operating Environment: hpux
Section: 3x
XCreatePixmapFromBitmapData(3X) XLIB FUNCTIONS XCreatePixmapFromBitmapData(3X)NAMEXCreatePixmapFromBitmapData - manipulate bitmapsSYNTAXPixmap XCreatePixmapFromBitmapData(display, d, data, width, height, fg, bg, depth) Display *display; Drawable d; char *data; unsigned int width, height; unsigned long fg, bg; unsigned int depth;ARGUMENTSdisplay Specifies the connection to the X server. d Specifies the drawable that indicates the screen. data Specifies the location of the bitmap data. width height Specify the width and height. fg bg Specify the foreground and background pixel values to use. depth Specifies the depth of the pixmap.DESCRIPTIONThe XCreatePixmapFromBitmapData function creates a pixmap of the given depth and then does a bitmap-format XPutImage of the data into it. The depth must be supported by the screen of the specified drawable, or a BadMatch error results. XCreatePixmapFromBitmapData can generate BadAlloc and BadMatch errors.DIAGNOSTICSBadAlloc The server failed to allocate the requested resource or server memory. BadDrawable A value for a Drawable argument does not name a defined Window or Pixmap. BadMatch An InputOnly window is used as a Drawable.SEE ALSOXReadBitmapFile(3X), XReadBitmapFileData(3X), XWriteBitmapFile(3X), XCreateBitmapFromData(3X) X Version 11 Release 6 XCreatePixmapFromBitmapData(3X)
| Related Man Pages |
|---|
| xcreatepixmapfrombitmapdata(3) - debian |
| xreadbitmapfile(3) - debian |
| xreadbitmapfile(3) - suse |
| xcreatebitmapfromdata(3x) - hpux |
| xcreatepixmapfrombitmapdata(3x) - hpux |
| Similar Topics in the Unix Linux Community |
|---|
| for:badly formed number |