diff options
author | Walter Harms <wharms@bfs.de> | 2019-12-25 20:40:04 +0100 |
---|---|---|
committer | Walter Harms <wharms@bfs.de> | 2019-12-25 20:40:04 +0100 |
commit | 83e5427f9cd5d32602bcf647547e0030ea361f00 (patch) | |
tree | f87d4d82ed27b955a259082ee07aadd35f737ca5 /man/xpmcreateimage.man | |
parent | e48e649eb04f95ffbdbd0c8bb77d7131142f5e9a (diff) |
update man pages
move from k&r to ansi prototypes
improve nroff coding
Signed-off-by: Walter Harms <wharms@bfs.de>
Diffstat (limited to 'man/xpmcreateimage.man')
-rw-r--r-- | man/xpmcreateimage.man | 47 |
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 |