X Version 11 (Release 6.1)

XmuCreateStippledPixmap(X3xmu)


XmuCreateStippledPixmap -- creates stippled pixmap

Synopsis

cc . . . -lXmu

#include <X11/Xmu/Drawing.h>

Pixmap XmuCreateStippledPixmap(screen, fore, back, depth) Screen *screen; Pixel fore, back; unsigned int depth;

void XmuReleaseStippledPixmap(screen, pixmap) Screen *screen; Pixmap pixmap;

Arguments


screen
Specifies the screen the pixmap is created on.

fore
Specifies the foreground pixel value.

back
Specifies the background pixel value.

depth
Specifies the depth of the pixmap.

pixmap
Specifies the pixmap to free.

Description

XmuCreateStippledPixmap creates a two pixel by one pixel stippled pixmap of specified depth on the specified screen.

The pixmap is cached so that multiple requests share the same pixmap. The pixmap should be freed with XmuReleaseStippledPixmap to maintain correct reference counts.

The XmuReleaseStippledPixmap function frees a pixmap created with XmuCreateStippledPixmap.

References

XmuDrawRoundedRectangle(X3xmu), XmuDrawLogo(X3xmu), XmuReadBitmapData(X3xmu), XmuLocateBitmapFile(X3xmu), XmuCreatePixmapFromBitmap(X3xmu)
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004