XCreateOC(3X) XLIB FUNCTIONS XCreateOC(3X)NAMEXCreateOC - create output contexts
SYNTAX
XOC XCreateOC(om, ...)
XOM om;
ARGUMENTS
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.
SEE ALSOXCreateOC(3X), XDestroyOC(3X), XSetValues(3X), XOMOfOC(3X)X Version 11 Release 6 XCreateOC(3X)