12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFTchar * XGetOCValues (oc, ...)XOC oc;ocSpecifies the output context.... Specifies the variable-length argument list to get XOC values.The XGetOCValues function returns NULL if no error occurred; otherwise, it returns the nameof the first argument that could not be obtained. An argument might not be obtained for any ofthe following reasons:• The argument name is not recognized.• Animplementation-dependent error occurs.Each argument value following a name must point to a location where the value is to be stored.13.4.5. Output Context ValuesThe following table describes how XOC values are interpreted by an output method. The firstcolumn lists the XOC values. The second column indicates the alternative interfaces that functionidentically and are provided for compatibility with previous releases. The third column indicateshow each of the XOC values is treated.The following keys apply to this table.KeyCDGSExplanationThis value must be set with XCreateOC.This value may be set using XCreateOC. Ifitisnot set,adefault is provided.This value may be read using XGetOCValues.This value must be set using XSetOCValues.XOC Value Alternative <strong>Interface</strong> KeyBaseFontName XCreateFontSet C-GMissingCharSet XCreateFontSet GDefaultString XCreateFontSet GOrientation − D-S-GResourceName − S-GResourceClass − S-GFontInfo XFontsOfFontSet GOMAutomatic − G13.4.5.1. Base Font NameThe XNBaseFontName argument is a list of base font names that <strong>Xlib</strong> uses to load the fontsneeded for the locale. The base font names are a comma-separated list. The string is null-terminatedand is assumed to be in the Host Portable Character Encoding; otherwise, the result isimplementation-dependent. White space immediately on either side of a separating comma isignored.284

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!