


XCreateOC(3X11)		  XLIB FUNCTIONS	  XCreateOC(3X11)


NNAAMMEE
       XCreateOC, XDestroyOC, XSetOCValues, XGetOCValues, XOMOfOC
       - create output contexts

SSYYNNTTAAXX
       XOC XCreateOC(_o_m, ...)
	     XOM _o_m;

       void XDestroyOC(_o_c)
	     XOC _o_c;

       char * XSetOCValues(_o_c, ...)
	     XOC _o_c;

       char * XGetOCValues(_o_c, ...)
	     XOC _o_c;

       XOM XOMOfOC(_o_c)
	     XOC _o_c;

AARRGGUUMMEENNTTSS
       _o_c	 Specifies the output context.

       _o_m	 Specifies the output method.

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

DDEESSCCRRIIPPTTIIOONN
       The _X_C_r_e_a_t_e_O_C 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.

       _X_C_r_e_a_t_e_O_C returns NULL if no output context could be cre-
       ated.  NULL can be returned for any of the following rea-
       sons:

       +o    A required argument was not set.

       +o    A read-only argument was set.

       +o    An argument name is not recognized.

       +o    The output method encountered an output method imple-
	    mentation-dependent error.

       The _X_D_e_s_t_r_o_y_O_C function destroys the specified output con-
       text.

       The _X_S_e_t_O_C_V_a_l_u_e_s function returns NULL if no error



X Version 11		    Release 6				1





XCreateOC(3X11)		  XLIB FUNCTIONS	  XCreateOC(3X11)


       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:

       +o    The argument is read-only.

       +o    The argument name is not recognized.

       +o    An implementation-dependent error occurs.

       Each value to be set must be an appropriate datum, match-
       ing the data type imposed by the semantics of the argu-
       ment.

       The _X_G_e_t_O_C_V_a_l_u_e_s 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:

       +o    The argument name is not recognized.

       +o    An implementation-dependent error occurs.

       Each argument value following a name must point to a loca-
       tion where the value is to be stored.

       The _X_O_M_O_f_O_C function returns the output method associated
       with the specified output context.

SSEEEE AALLSSOO
       XCreateOM(3X11), XCreateFontSet(3X11)
       _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e

























X Version 11		    Release 6				2


