summaryrefslogtreecommitdiff
path: root/man/xpmcreatedata.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/xpmcreatedata.man')
-rw-r--r--man/xpmcreatedata.man66
1 files changed, 33 insertions, 33 deletions
diff --git a/man/xpmcreatedata.man b/man/xpmcreatedata.man
index 91cd7df..384a95d 100644
--- a/man/xpmcreatedata.man
+++ b/man/xpmcreatedata.man
@@ -1,30 +1,30 @@
-.\" Copyright (c) 2019 X Consortium
-.\"
-.\" Permission is hereby granted, free of charge, to any person obtaining
-.\" a copy of this software and associated documentation files (the
-.\" "Software"), to deal in the Software without restriction, including
-.\" without limitation the rights to use, copy, modify, merge, publish,
-.\" distribute, sublicense, and/or sell copies of the Software, and to
-.\" permit persons to whom the Software furnished to do so, subject to
-.\" the following conditions: .\" .\" The above copyright notice and this permission notice shall be included
-.\" in all copies or substantial portions of the Software.
-.\"
-.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
-.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-.\" OTHER DEALINGS IN THE SOFTWARE.
-.\"
-.\" Except as contained in this notice, the name of the X Consortium shall
-.\" not be used in advertising or otherwise to promote the sale, use or
-.\" other dealing in this Software without prior written authorization
-.\" from the X Consortium.
+.\" Copyright (c) 2019 X Consortium
+.\"
+.\" Permission is hereby granted, free of charge, to any person obtaining
+.\" a copy of this software and associated documentation files (the
+.\" "Software"), to deal in the Software without restriction, including
+.\" without limitation the rights to use, copy, modify, merge, publish,
+.\" distribute, sublicense, and/or sell copies of the Software, and to
+.\" permit persons to whom the Software furnished to do so, subject to
+.\" the following conditions: .\" .\" The above copyright notice and this permission notice shall be included
+.\" in all copies or substantial portions of the Software.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
+.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+.\" OTHER DEALINGS IN THE SOFTWARE.
+.\"
+.\" Except as contained in this notice, the name of the X Consortium shall
+.\" not be used in advertising or otherwise to promote the sale, use or
+.\" other dealing in this Software without prior written authorization
+.\" from the X Consortium.
.\"
.hw XImage
-.TH XpmCreateData __libmansuffix__ __xorgversion__ "libXpm functions"
-.SH NAME
+.TH XpmCreateData __libmansuffix__ __xorgversion__ "libXpm functions"
+.SH NAME
XpmCreateData \- create an Data structure
.SH SYNOPSIS
@@ -55,26 +55,26 @@ Specifies the image
.SH DESCRIPTION
.SS XpmCreateDataFromImage
In some cases, one may want to create an XPM data from an XImage, to do so use XpmCreateDataFromImage.
-The XpmCreateDataFromImage function exactly works asXpmWriteFileFromImage() does and returns the same way.
-It just writes to a single block malloc’ed data instead of to a file.
+The XpmCreateDataFromImage function exactly works asXpmWriteFileFromImage() does and returns the same way.
+It just writes to a single block malloc’ed data instead of to a file.
It is the caller’s responsibility to free the data, using XpmFree when finished.
.SS XpmCreateDataFromPixmap
XpmCreateDataFromPixmap creates an XPM data from a Pixmap.
-The XpmCreateDataFromPixmap function uses XGetImage to get from the given pixmaps
-the related X images which are passed to XpmCreateDataFromImage.
-Then it destroys the created images using XDestroyImage.
+The XpmCreateDataFromPixmap function uses XGetImage to get from the given pixmaps
+the related X images which are passed to XpmCreateDataFromImage.
+Then it destroys the created images using XDestroyImage.
XpmCreateDataFromPixmap returns the same errors as XpmCreateDataFromImage.
.SS XpmCreateDataFromXpmImage
XpmCreateDataFromXpmImage creates an XPM data from an XmImage.
-The XpmCreateDataFromXpmImage function writes out the given image to a single block malloc’ed data in XPM format.
+The XpmCreateDataFromXpmImage function writes out the given image to a single block malloc’ed data in XPM format.
If insufficient working storage is allocated, it returns XpmNoMemory, and returns XpmSuccess on success.
-If the passed XpmInfo structure pointer is not NULL, XpmCreateDataFromXpmImage looks for the following attributes:
+If the passed XpmInfo structure pointer is not NULL, XpmCreateDataFromXpmImage looks for the following attributes:
XpmExtensions, and XpmHotspot, and writes the related information out as well.
It is the caller’s responsibility to free the data, using XpmFree when finished.
-.SH "SEE ALSO"
+.SH "SEE ALSO"
.BR XpmCreateDataFromImage(__libmansuffix__) ,
.BR XpmCreateDataFromPixmap(__libmansuffix__) ,
.BR XpmCreateDataFromXpmImage(__libmansuffix__)