XCreatePixmapFromBitmapData man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XCreatePixmapFromBitmapData(3X) XLIB FUNCTIONS XCreatePixmapFromBitmapData(3X)

NAME
       XCreatePixmapFromBitmapData - manipulate bitmaps

SYNTAX
       Pixmap 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;

ARGUMENTS
       display	 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.

DESCRIPTION
       The 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.

DIAGNOSTICS
       BadAlloc	 The server failed to allocate the requested resource or
		 server memory.

       BadDrawable
		 A value for a Drawable argument does not name a defined Win‐
		 dow or Pixmap.

       BadMatch	 An InputOnly window is used as a Drawable.

SEE ALSO
       XReadBitmapFile(3X), XReadBitmapFileData(3X), XWriteBitmapFile(3X),
       XCreateBitmapFromData(3X)

X Version 11			   Release 6   XCreatePixmapFromBitmapData(3X)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net