XCreateOC, XDestroyOC, XSetOCValues, XGetOCValues, XOMOfOC − create output contexts


XOC XCreateOC(XOM om);

void XDestroyOC(XOC oc);

char * XSetOCValues(XOC oc, ...);

char * XGetOCValues(XOC oc, ...);




Specifies the output context.


Specifies the output method.


Specifies the variable length argument list to set or get XOC values.


The XCreateOC function creates an output context within the specified output method.

The base font names argument is mandatory at creation time, and the output context will not be created unless it is provided. All other output context values can be set later.

XCreateOC returns NULL if no output context could be created. NULL can be returned for any of the following reasons:

A required argument was not set.

A read-only argument was set.

An argument name is not recognized.

The output method encountered an output method implementation-dependent error.

The XDestroyOC function destroys the specified output context.

The XSetOCValues function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be set. An argument might not be set for any of the following reasons:

The argument is read-only.

The argument name is not recognized.

An implementation-dependent error occurs.

Each value to be set must be an appropriate datum, matching the data type imposed by the semantics of the argument.

The XGetOCValues function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be obtained. An argument might not be obtained for any of the following reasons:

The argument name is not recognized.

An implementation-dependent error occurs.

Each argument value following a name must point to a location where the value is to be stored.

The XOMOfOC function returns the output method associated with the specified output context.


XCreateOM(3), XCreateFontSet(3)
Xlib − C Language X Interface

More Linux Commands

tcgetsid(3) - get session ID (Library - Linux man page).....
The function tcgetsid() returns the session ID of the current session that has the terminal associated to fd as controlling terminal. This terminal must be the

ccosh(3) - complex hyperbolic cosine - Linux manual page....
The complex hyperbolic cosine function is defined as: ccosh(z) = (exp(z)+exp(-z))/2 VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING

ModPerl::RegistryLoader(3pm) - Compile ModPerl::RegistryCook
This modules allows compilation of scripts, running under packages derived from ModPerl::RegistryCooker, at server startup. The scripts handler routine is compi

XCompositeReleaseOverlayWindow(3) - X Composite Extension li
The composite extension provides several related mechanisms: Per-hierarchy storage The rendering of an entire hierarchy of windows is redirected to off-screen s

Tcl_QueryTimeProc(3) - get date and time - Linux man page...
The Tcl_GetTime function retrieves the current time as a Tcl_Time structure in memory the caller provides. This structure has the following definition: typedef

nm-system-settings.conf(5) - Deprecated NetworkManager confi
nm-system-settings.conf is a deprecated configuration file for NetworkManager 411toppm(1). While this file can still be used, NetworkManager now defaults to rea

hunspell(3) - spell checking, stemming, morphological genera
The Hunspell library routines give the user word-level linguistic functions: spell checking and correction, stemming, morphological generation and analysis in i

XcmsCIELabQueryMaxL(3) - obtain the CIE L*a*b* coordinates
The XcmsCIELabQueryMaxC function, given a hue angle and lightness, finds the point of maximum chroma displayable by the screen. It returns this point in CIE L*a

if(n) - Execute scripts conditionally - Linux manual page...
The if command evaluates expr1 as an expression (in the same way that expr evaluates its argument). The value of the expression must be a boolean (a numeric val

getservbyname_r(3) - get service entry (reentrant) (ManPage)
The getservent_r(), getservbyname_r(), and getservbyport_r() functions are the reentrant equivalents of, respectively, getservent(3), getservbyname(3), and gets

ooconvert(1) - Commandline Document Converter Using LibreOff
This tool converts documents between various formats on the commandline. It uses LibreOffice that guarantees the quality of available import and export filters.

XkbSetDeviceButtonActions(3) - Change only the button action
XkbSetDeviceButtonActions assigns actions to the buttons of the device specified in device_info->device_spec. Actions are assigned to num_buttons buttons beginn

We can't live, work or learn in freedom unless the software we use is free.