summaryrefslogtreecommitdiff
path: root/man/xpmcreateimage.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/xpmcreateimage.man')
-rw-r--r--man/xpmcreateimage.man47
1 files changed, 18 insertions, 29 deletions
diff --git a/man/xpmcreateimage.man b/man/xpmcreateimage.man
index 348aa24..a25027b 100644
--- a/man/xpmcreateimage.man
+++ b/man/xpmcreateimage.man
@@ -22,43 +22,32 @@
.\" other dealing in this Software without prior written authorization
.\" from the X Consortium.
.\"
-
+.hw XImage
.TH XpmCreateImage __libmansuffix__ __xorgversion__ "libXpm functions"
.SH NAME
XpmCreateImage \- create an Xpm-image
.SH SYNOPSIS
.HP
-int XpmCreateImageFromData(display, data, image_return, shapeimage_return, attributes)
-Display *display;
-char **data;
-XImage**image_return;
-XImage**shapeimage_return;
-XpmAttributes *attributes;
-
+int XpmCreateImageFromData( Display *display, char **data, XImage **image_return, XImage **shapeimage_return, XpmAttributes *attributes );
.HP
-int XpmCreateImageFromBuffer(display, buffer, image_return, shapeimage_return, attributes)
- Display *display;
- char *buffer;
- XImage**image_return;
- XImage**shapeimage_return;
- XpmAttributes *attributes;
+int XpmCreateImageFromBuffer( Display *display, char *buffer, XImage **image_return, XImage **shapeimage_return, XpmAttributes *attributes );
.HP
-int XpmCreateImageFromXpmImage(display, image, image_return, shapeimage_return, attributes)
- Display *display;
- XpmImage*image;
- XImage*image_return;
- XImage*shapeimage_return;
- XpmAttributes *attributes;
+int XpmCreateImageFromXpmImage( Display *display, XpmImage *image, XImage *image_return, XImage *shapeimage_return, XpmAttributes *attributes;
.SH ARGUMENTS
-.nf
-display Specifies the connection to the X server.
-data Specifies the location of the data.
-image_return Returns the image which is created.
-shapeimage_return Returns the shape mask image which is created if the color None is used.
-attributes Specifies the location of a structure to get and store information (or NULL).
-shapeimage Specifies the shape mask image which is created if any.
-.fi
+
+.IP \fIdisplay\fP li
+Specifies the connection to the X server.
+.IP \fIdata\fP li
+Specifies the location of the data.
+.IP \fIimage_return\fP li
+Returns the image which is created.
+.IP \fIshapeimage_return\fP li
+Returns the shape mask image which is created if the color None is used.
+.IP \fIattributes\fP li
+Specifies the location of a structure to get and store information (or NULL).
+.IP \fIshapeimage\fP li
+Specifies the shape mask image which is created if any.
.SH DESCRIPTION
@@ -81,7 +70,7 @@ to deal with compressed files is not available here.
.SS XpmCreateImageFromXpmImage
To create an XImage from an XpmImage, use XpmCreateImageFromXpmImage.
-From the givenXpmImage andXpmAttributes if notNULL, XpmCreateImageFromXpmImage allocates colors
+From the given XpmImage and XpmAttributes if not NULL, XpmCreateImageFromXpmImage allocates colors
and creates X images following the same mechanism as XpmReadFileToImage().
When finished the caller must free the images using XDestroyImage,
the colors using XFreeColors, and possibly the