XCreateOC(3)



XCreateOC

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

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

SYNTAX

XOC XCreateOC(XOM om);

void XDestroyOC(XOC oc);

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

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

XOM XOMOfOC(XOC oc);

ARGUMENTS

oc

Specifies the output context.

om

Specifies the output method.

...

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

DESCRIPTION

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.

SEE ALSO

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



More Linux Commands

manpages/XShapeCombineMask.3.html
XShapeCombineMask(3) - X nonrectangular shape functions.....
The X11 Nonrectangular Window Shape Extension adds nonrectangular windows to the X Window System. PREDEFINED VALUES Operations: ShapeSet ShapeUnion ShapeInterse

manpages/BitmapPad.3.html
BitmapPad(3) - image format functions and macros (Man Page)
The XListPixmapFormats function returns an array of XPixmapFormatValues structures that describe the types of Z format images supported by the specified display

manpages/glEnableClientState.3gl.html
glEnableClientState(3gl) - enable or disable client-side cap
glEnableClientState and glDisableClientState enable or disable individual client-side capabilities. By default, all client-side capabilities are disabled. Both

manpages/curl_multi_assign.3.html
curl_multi_assign(3) - set data to association with an inter
This function assigns an association in the multi handle between the given socket and a private pointer of the application. This is (only) useful for curl_multi

manpages/zshcompsys.1.html
zshcompsys(1) - zsh completion system - Linux manual page...
This describes the shell code for the new completion system, referred to as compsys. It is written in shell functions based on the features described in zshcomp

manpages/ctlinnd.8.html
ctlinnd(8) - Control the main InterNetNews daemon (ManPage)
ctlinnd sends a message to the control channel of innd(8), the main InterNetNews daemon. In the normal mode of behavior, the message is sent to the server, whic

manpages/scr_init.3ncurses.html
scr_init(3ncurses) - read (write) a curses screen from (to)
The scr_dump routine dumps the current contents of the virtual screen to the file filename. The scr_restore routine sets the virtual screen to the contents of f

manpages/Tcl_NewListObj.3.html
Tcl_NewListObj(3) - manipulate Tcl objects as lists.........
Tcl list objects have an internal representation that supports the efficient indexing and appending. The procedures described in this man page are used to creat

manpages/ldap_attributetype2str.3.html
ldap_attributetype2str(3) - Schema definition handling routi
These routines are used to parse schema definitions in the syntax defined in RFC 4512 into structs and handle these structs. These routines handle four kinds of

manpages/vimdot.1.html
vimdot(1) - Combined text editor and dot viewer (Man Page)
vimdot is a simple script which launches the gvim or vim editor along with a GUI window showing the dot output of the edited file. The dot output window automat

manpages/XRemoveHosts.3.html
XRemoveHosts(3) - control host access and host control struc
The XAddHost function adds the specified host to the access control list for that display. The server must be on the same host as the client issuing the command

manpages/Pod::Find.3pm.html
Pod::Find(3pm) - find POD documents in directory trees......
Pod::Find provides a set of functions to locate POD files. Note that no function is exported by default to avoid pollution of your namespace, so be sure to spec





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