summaryrefslogtreecommitdiff
path: root/lib/libX11/man/XcmsCreateCCC.man
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/man/XcmsCreateCCC.man')
-rw-r--r--lib/libX11/man/XcmsCreateCCC.man53
1 files changed, 10 insertions, 43 deletions
diff --git a/lib/libX11/man/XcmsCreateCCC.man b/lib/libX11/man/XcmsCreateCCC.man
index 1c260170e..dc21d115f 100644
--- a/lib/libX11/man/XcmsCreateCCC.man
+++ b/lib/libX11/man/XcmsCreateCCC.man
@@ -38,46 +38,13 @@
.\" to this documentation without specific, written prior permission.
.\" Digital and Tektronix makes no representations about the suitability
.\" of this documentation for any purpose.
-.\" It is provided ``as is'' without express or implied warranty.
-.\"
+.\" It is provided "as is" without express or implied warranty.
+.\"
.\"
.ds xT X Toolkit Intrinsics \- C Language Interface
.ds xW Athena X Widgets \- C Language X Toolkit Interface
.ds xL Xlib \- C Language X Interface
.ds xC Inter-Client Communication Conventions Manual
-.na
-.de Ds
-.nf
-.\\$1D \\$2 \\$1
-.ft CW
-.\".ps \\n(PS
-.\".if \\n(VS>=40 .vs \\n(VSu
-.\".if \\n(VS<=39 .vs \\n(VSp
-..
-.de De
-.ce 0
-.if \\n(BD .DF
-.nr BD 0
-.in \\n(OIu
-.if \\n(TM .ls 2
-.sp \\n(DDu
-.fi
-..
-.de IN \" send an index entry to the stderr
-..
-.de Pn
-.ie t \\$1\fB\^\\$2\^\fR\\$3
-.el \\$1\fI\^\\$2\^\fP\\$3
-..
-.de ZN
-.ie t \fB\^\\$1\^\fR\\$2
-.el \fI\^\\$1\^\fP\\$2
-..
-.de hN
-.ie t <\fB\\$1\fR>\\$2
-.el <\fI\\$1\fP>\\$2
-..
-.ny0
.TH XcmsCreateCCC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
.SH NAME
XcmsCreateCCC, XcmsFreeCCC \- creating and destroying CCCs
@@ -87,9 +54,9 @@ XcmsCCC XcmsCreateCCC\^(\^Display *\fIdisplay\fP\^, int \fIscreen_number\fP\^,
Visual *\fIvisual\fP\^, XcmsColor *\fIclient_white_point\fP\^,
XcmsCompressionProc \fIcompression_proc\fP\^, XPointer
\fIcompression_client_data\fP\^, XcmsWhiteAdjustProc
-\fIwhite_adjust_proc\fP\^, XPointer \fIwhite_adjust_client_data\fP\^);
+\fIwhite_adjust_proc\fP\^, XPointer \fIwhite_adjust_client_data\fP\^);
.LP
-void XcmsFreeCCC\^(\^XcmsCCC \fIccc\fP\^);
+void XcmsFreeCCC\^(\^XcmsCCC \fIccc\fP\^);
.SH ARGUMENTS
.IP \fIdisplay\fP 1i
Specifies the connection to the X server.
@@ -97,20 +64,20 @@ Specifies the connection to the X server.
Specifies the CCC.
.IP \fIclient_white_point\fP 1i
Specifies the Client White Point.
-If NULL is specified,
+If NULL is specified,
the Client White Point is to be assumed to be the same as the
Screen White Point.
Note that the pixel member is ignored.
.IP \fIcompression_client_data\fP 1i
Specifies client data for use by the gamut compression procedure or NULL.
.IP \fIcompression_proc\fP 1i
-Specifies the gamut compression procedure that is to be applied
+Specifies the gamut compression procedure that is to be applied
when a color lies outside the screen's color gamut.
If NULL is specified and a function using this CCC must convert
a color specification to a device-dependent format and encounters a color
-that lies outside the screen's color gamut,
+that lies outside the screen's color gamut,
that function will return
-.ZN XcmsFailure .
+.BR XcmsFailure .
.IP \fIscreen_number\fP 1i
Specifies the appropriate screen number on the host server.
.IP \fIvisual\fP 1i
@@ -123,11 +90,11 @@ when the Client White Point differs from the Screen White Point.
NULL indicates that no white point adjustment is desired.
.SH DESCRIPTION
The
-.ZN XcmsCreateCCC
+.B XcmsCreateCCC
function creates a CCC for the specified display, screen, and visual.
.LP
The
-.ZN XcmsFreeCCC
+.B XcmsFreeCCC
function frees the memory used for the specified CCC.
Note that default CCCs and those currently associated with colormaps
are ignored.