1XCreateOC(3)                    XLIB FUNCTIONS                    XCreateOC(3)
2
3
4

NAME

6       XCreateOC,  XDestroyOC,  XSetOCValues,  XGetOCValues,  XOMOfOC - create
7       output contexts
8

SYNTAX

10       XOC XCreateOC(XOM om, ...);
11
12       void XDestroyOC(XOC oc);
13
14       char * XSetOCValues(XOC oc, ...);
15
16       char * XGetOCValues(XOC oc, ...);
17
18       XOM XOMOfOC(XOC oc);
19

ARGUMENTS

21       oc        Specifies the output context.
22
23       om        Specifies the output method.
24
25       ...       Specifies the variable length argument list to set or get XOC
26                 values.
27

DESCRIPTION

29       The  XCreateOC  function creates an output context within the specified
30       output method.
31
32       The base font names argument is mandatory at  creation  time,  and  the
33       output  context  will  not be created unless it is provided.  All other
34       output context values can be set later.
35
36       XCreateOC returns NULL if no output context could be created.  NULL can
37       be returned for any of the following reasons:
38
39       •    A required argument was not set.
40
41       •    A read-only argument was set.
42
43       •    An argument name is not recognized.
44
45       •    The  output method encountered an output method implementation-de‐
46            pendent error.
47
48       The XDestroyOC function destroys the specified output context.
49
50       The XSetOCValues function returns NULL if no error occurred; otherwise,
51       it  returns  the  name of the first argument that could not be set.  An
52       argument might not be set for any of the following reasons:
53
54       •    The argument is read-only.
55
56       •    The argument name is not recognized.
57
58       •    An implementation-dependent error occurs.
59
60       Each value to be set must be an appropriate datum,  matching  the  data
61       type imposed by the semantics of the argument.
62
63       The XGetOCValues function returns NULL if no error occurred; otherwise,
64       it returns the name of the first argument that could not  be  obtained.
65       An argument might not be obtained for any of the following reasons:
66
67       •    The argument name is not recognized.
68
69       •    An implementation-dependent error occurs.
70
71       Each argument value following a name must point to a location where the
72       value is to be stored.
73
74       The XOMOfOC function returns the  output  method  associated  with  the
75       specified output context.
76

SEE ALSO

78       XCreateOM(3), XCreateFontSet(3)
79       Xlib - C Language X Interface
80
81
82
83X Version 11                     libX11 1.8.7                     XCreateOC(3)
Impressum