diff options
Diffstat (limited to 'man/XQueryColor.man')
-rw-r--r-- | man/XQueryColor.man | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/man/XQueryColor.man b/man/XQueryColor.man index c39dda97..9fbb8189 100644 --- a/man/XQueryColor.man +++ b/man/XQueryColor.man @@ -40,7 +40,7 @@ .\" 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. -.\" +.\" .\" .ds xT X Toolkit Intrinsics \- C Language Interface .ds xW Athena X Widgets \- C Language X Toolkit Interface @@ -52,22 +52,22 @@ XQueryColor, XQueryColors, XLookupColor, XParseColor \- obtain color values .SH SYNTAX .HP int XQueryColor\^(\^Display *\fIdisplay\fP\^, Colormap \fIcolormap\fP\^, XColor -*\fIdef_in_out\fP\^); +*\fIdef_in_out\fP\^); .HP int XQueryColors\^(\^Display *\fIdisplay\fP\^, Colormap \fIcolormap\fP\^, -XColor \fIdefs_in_out\fP[\^]\^, int \fIncolors\fP\^); +XColor \fIdefs_in_out\fP[\^]\^, int \fIncolors\fP\^); .HP Status XLookupColor\^(\^Display *\fIdisplay\fP\^, Colormap \fIcolormap\fP\^, char *\fIcolor_name\fP\^, XColor *\fIexact_def_return\fP\^, XColor -*\fIscreen_def_return\fP\^); +*\fIscreen_def_return\fP\^); .HP Status XParseColor\^(\^Display *\fIdisplay\fP\^, Colormap \fIcolormap\fP\^, -char *\fIspec\fP\^, XColor *\fIexact_def_return\fP\^); +char *\fIspec\fP\^, XColor *\fIexact_def_return\fP\^); .SH ARGUMENTS .IP \fIcolormap\fP 1i Specifies the colormap. .IP \fIcolor_name\fP 1i -Specifies the color name string (for example, red) whose color +Specifies the color name string (for example, red) whose color definition structure you want returned. .IP \fIdef_in_out\fP 1i Specifies and returns the RGB values for the pixel specified in the structure. @@ -79,8 +79,8 @@ Specifies the connection to the X server. .IP \fIexact_def_return\fP 1i Returns the exact RGB values. .IP \fIncolors\fP 1i -.\"Specifies the number of color definition structures. -Specifies the number of +.\"Specifies the number of color definition structures. +Specifies the number of .B XColor structures in the color definition array. .IP \fIscreen_def_return\fP 1i @@ -132,9 +132,9 @@ The function looks up the string name of a color with respect to the screen associated with the specified colormap. It returns both the exact color values and -the closest values provided by the screen +the closest values provided by the screen with respect to the visual type of the specified colormap. -If the color name is not in the Host Portable Character Encoding, +If the color name is not in the Host Portable Character Encoding, the result is implementation-dependent. Use of uppercase or lowercase does not matter. .B XLookupColor @@ -146,7 +146,7 @@ The function looks up the string name of a color with respect to the screen associated with the specified colormap. It returns the exact color value. -If the color name is not in the Host Portable Character Encoding, +If the color name is not in the Host Portable Character Encoding, the result is implementation-dependent. Use of uppercase or lowercase does not matter. .B XParseColor @@ -172,7 +172,7 @@ rgb:\fI<red>/<green>/<blue>\fP .EE .\" End marker code here .LP -Note that \fIh\fP indicates the value scaled in 4 bits, +Note that \fIh\fP indicates the value scaled in 4 bits, \fIhh\fP the value scaled in 8 bits, \fIhhh\fP the value scaled in 12 bits, and \fIhhhh\fP the value scaled in 16 bits, respectively. @@ -191,7 +191,7 @@ l l. .TE .LP The R, G, and B represent single hexadecimal digits. -When fewer than 16 bits each are specified, +When fewer than 16 bits each are specified, they represent the most significant bits of the value (unlike the \*(lqrgb:\*(rq syntax, in which values are scaled). For example, the string \*(lq#3a7\*(rq is the same as \*(lq#3000a0007000\*(rq. @@ -209,7 +209,7 @@ Note that red, green, and blue are floating-point values between 0.0 and 1.0, inclusive. The input format for these values is an optional sign, a string of numbers possibly containing a decimal point, -and an optional exponent field containing an E or e +and an optional exponent field containing an E or e followed by a possibly signed integer string. .LP The standard device-independent string specifications have |