home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xsetocvalues.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XCreateOC(3X11)          XLIB FUNCTIONS      XCreateOC(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XCreateOC, XDestroyOC, XSetOCValues, XGetOCValues, XOMOfOC
  9.        - create output contexts
  10.  
  11. SSYYNNTTAAXX
  12.        XOC XCreateOC(_o_m, ...)
  13.          XOM _o_m;
  14.  
  15.        void XDestroyOC(_o_c)
  16.          XOC _o_c;
  17.  
  18.        char * XSetOCValues(_o_c, ...)
  19.          XOC _o_c;
  20.  
  21.        char * XGetOCValues(_o_c, ...)
  22.          XOC _o_c;
  23.  
  24.        XOM XOMOfOC(_o_c)
  25.          XOC _o_c;
  26.  
  27. AARRGGUUMMEENNTTSS
  28.        _o_c     Specifies the output context.
  29.  
  30.        _o_m     Specifies the output method.
  31.  
  32.        ...     Specifies the variable length argument list to
  33.          set or get XOC values.
  34.  
  35. DDEESSCCRRIIPPTTIIOONN
  36.        The _X_C_r_e_a_t_e_O_C function creates an output context within
  37.        the specified output method.
  38.  
  39.        The base font names argument is mandatory at creation
  40.        time, and the output context will not be created unless it
  41.        is provided.  All other output context values can be set
  42.        later.
  43.  
  44.        _X_C_r_e_a_t_e_O_C returns NULL if no output context could be cre-
  45.        ated.  NULL can be returned for any of the following rea-
  46.        sons:
  47.  
  48.        +o    A required argument was not set.
  49.  
  50.        +o    A read-only argument was set.
  51.  
  52.        +o    An argument name is not recognized.
  53.  
  54.        +o    The output method encountered an output method imple-
  55.         mentation-dependent error.
  56.  
  57.        The _X_D_e_s_t_r_o_y_O_C function destroys the specified output con-
  58.        text.
  59.  
  60.        The _X_S_e_t_O_C_V_a_l_u_e_s function returns NULL if no error
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XCreateOC(3X11)          XLIB FUNCTIONS      XCreateOC(3X11)
  71.  
  72.  
  73.        occurred; otherwise, it returns the name of the first
  74.        argument that could not be set.    An argument might not be
  75.        set for any of the following reasons:
  76.  
  77.        +o    The argument is read-only.
  78.  
  79.        +o    The argument name is not recognized.
  80.  
  81.        +o    An implementation-dependent error occurs.
  82.  
  83.        Each value to be set must be an appropriate datum, match-
  84.        ing the data type imposed by the semantics of the argu-
  85.        ment.
  86.  
  87.        The _X_G_e_t_O_C_V_a_l_u_e_s function returns NULL if no error
  88.        occurred; otherwise, it returns the name of the first
  89.        argument that could not be obtained.  An argument might
  90.        not be obtained for any of the following reasons:
  91.  
  92.        +o    The argument name is not recognized.
  93.  
  94.        +o    An implementation-dependent error occurs.
  95.  
  96.        Each argument value following a name must point to a loca-
  97.        tion where the value is to be stored.
  98.  
  99.        The _X_O_M_O_f_O_C function returns the output method associated
  100.        with the specified output context.
  101.  
  102. SSEEEE AALLSSOO
  103.        XCreateOM(3X11), XCreateFontSet(3X11)
  104.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.