Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ CrePmfBm.Xmu.z() — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XCopyPlane(XS)


 XmuCreatePixmapFromBitmap(Xmu)                     X Version 11 (Release 5)
                                                              6 January 1993


 Name

    XmuCreatePixmapFromBitmap - create pixmap from bitmap

 Syntax


    cc  . . .  -lXmu


    #include <X11/Xmu/Drawing.h>

    Pixmap XmuCreatePixmapFromBitmap (dpy, d, bitmap, width, height, depth,
                                      fore, back)
        Display *dpy;
        Drawable d;
        Pixmap bitmap;
        unsigned int width, height, depth;
        unsigned long fore, back;


 Arguments


    dpy     Specifies the connection to the X server.

    d       Specifies the screen the pixmap is created on.

    bitmap  Specifies the bitmap source.

    width   Specifies the width of the pixmap.

    height  Specifies the height of the pixmap.

    depth   Specifies the depth of the pixmap.

    fore    Specifies the foreground pixel value.

    back    Specifies the background pixel value.


 Description

    XmuCreatePixmapFromBitmap creates a pixmap of the specified width,
    height, and depth, on the same screen as the specified drawable, and then
    performs an XCopyPlane from the specified bitmap to the pixmap, using the
    specified foreground and background pixel values.  The created pixmap is
    returned.

 See also

    XCopyPlane(XS), XmuDrawRoundedRectangle(Xmu), XmuDrawLogo(Xmu), XmuCre-
    ateStippledPixmap(Xmu), XmuReadBitmapData(Xmu), XmuLocateBitmapFile(Xmu)
    Xlib - C Language X Interface


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026