diff options
Diffstat (limited to 'man/XStoreColors.man')
-rw-r--r-- | man/XStoreColors.man | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/man/XStoreColors.man b/man/XStoreColors.man index defaa5c3..f080005a 100644 --- a/man/XStoreColors.man +++ b/man/XStoreColors.man @@ -105,85 +105,85 @@ Specifies which red, green, and blue components are set. .IP \fIncolors\fP 1i .\"Specifies the number of color definition structures. Specifies the number of -.ZN XColor +.B XColor structures in the color definition array. .IP \fIpixel\fP 1i Specifies the entry in the colormap. .SH DESCRIPTION The -.ZN XStoreColors +.B XStoreColors function changes the colormap entries of the pixel values specified in the pixel members of the -.ZN XColor +.B XColor structures. You specify which color components are to be changed by setting -.ZN DoRed , -.ZN DoGreen , +.BR DoRed , +.BR DoGreen , and/or -.ZN DoBlue +.B DoBlue in the flags member of the -.ZN XColor +.B XColor structures. If the colormap is an installed map for its screen, the changes are visible immediately. -.ZN XStoreColors +.B XStoreColors changes the specified pixels if they are allocated writable in the colormap by any client, even if one or more pixels generates an error. If a specified pixel is not a valid index into the colormap, a -.ZN BadValue +.B BadValue error results. If a specified pixel either is unallocated or is allocated read-only, a -.ZN BadAccess +.B BadAccess error results. If more than one pixel is in error, the one that gets reported is arbitrary. .LP -.ZN XStoreColors +.B XStoreColors can generate -.ZN BadAccess , -.ZN BadColor , +.BR BadAccess , +.BR BadColor , and -.ZN BadValue +.B BadValue errors. .LP The -.ZN XStoreColor +.B XStoreColor function changes the colormap entry of the pixel value specified in the pixel member of the -.ZN XColor +.B XColor structure. You specified this value in the pixel member of the -.ZN XColor +.B XColor structure. This pixel value must be a read/write cell and a valid index into the colormap. If a specified pixel is not a valid index into the colormap, a -.ZN BadValue +.B BadValue error results. -.ZN XStoreColor +.B XStoreColor also changes the red, green, and/or blue color components. You specify which color components are to be changed by setting -.ZN DoRed , -.ZN DoGreen , +.BR DoRed , +.BR DoGreen , and/or -.ZN DoBlue +.B DoBlue in the flags member of the -.ZN XColor +.B XColor structure. If the colormap is an installed map for its screen, the changes are visible immediately. .LP -.ZN XStoreColor +.B XStoreColor can generate -.ZN BadAccess , -.ZN BadColor , +.BR BadAccess , +.BR BadColor , and -.ZN BadValue +.B BadValue errors. .LP The -.ZN XStoreNamedColor +.B XStoreNamedColor function looks up the named color with respect to the screen associated with the colormap and stores the result in the specified colormap. The pixel argument determines the entry in the colormap. @@ -191,45 +191,45 @@ The flags argument determines which of the red, green, and blue components are set. You can set this member to the bitwise inclusive OR of the bits -.ZN DoRed , -.ZN DoGreen , +.BR DoRed , +.BR DoGreen , and -.ZN DoBlue . +.BR DoBlue . 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. If the specified pixel is not a valid index into the colormap, a -.ZN BadValue +.B BadValue error results. If the specified pixel either is unallocated or is allocated read-only, a -.ZN BadAccess +.B BadAccess error results. .LP -.ZN XStoreNamedColor +.B XStoreNamedColor can generate -.ZN BadAccess , -.ZN BadColor , -.ZN BadName , +.BR BadAccess , +.BR BadColor , +.BR BadName , and -.ZN BadValue +.B BadValue errors. .SH DIAGNOSTICS .TP 1i -.ZN BadAccess +.B BadAccess A client attempted to free a color map entry that it did not already allocate. .TP 1i -.ZN BadAccess +.B BadAccess A client attempted to store into a read-only color map entry. .TP 1i -.ZN BadColor +.B BadColor A value for a Colormap argument does not name a defined Colormap. .TP 1i -.ZN BadName +.B BadName A font or color of the specified name does not exist. .TP 1i -.ZN BadValue +.B BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of |