home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XCreateOC.z / XCreateOC
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCCrrrreeeeaaaatttteeeeOOOOCCCC((((3333XXXX11111111))))    XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))     XXXXCCCCrrrreeeeaaaatttteeeeOOOOCCCC((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XCreateOC, XDestroyOC, XSetOCValues, XGetOCValues, XOMOfOC -
  10.           create output contexts
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XOC XCreateOC(_o_m, ...)
  14.                 XOM _o_m;
  15.  
  16.           void XDestroyOC(_o_c)
  17.                 XOC _o_c;
  18.  
  19.           char * XSetOCValues(_o_c, ...)
  20.                 XOC _o_c;
  21.  
  22.           char * XGetOCValues(_o_c, ...)
  23.                 XOC _o_c;
  24.  
  25.           XOM XOMOfOC(_o_c)
  26.                 XOC _o_c;
  27.  
  28.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  29.           _o_c        Specifies the output context.
  30.  
  31.           _o_m        Specifies the output method.
  32.  
  33.           ...       Specifies the variable length argument list to set
  34.                     or get XOC values.
  35.  
  36.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  37.           The _X_C_r_e_a_t_e_O_C function creates an output context within the
  38.           specified output method.
  39.  
  40.           The base font names argument is mandatory at creation time,
  41.           and the output context will not be created unless it is
  42.           provided.  All other output context values can be set later.
  43.  
  44.           _X_C_r_e_a_t_e_O_C returns NULL if no output context could be
  45.           created.  NULL can be returned for any of the following
  46.           reasons:
  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
  55.                implementation-dependent error.
  56.  
  57.           The _X_D_e_s_t_r_o_y_O_C function destroys the specified output
  58.           context.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCCrrrreeeeaaaatttteeeeOOOOCCCC((((3333XXXX11111111))))    XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))     XXXXCCCCrrrreeeeaaaatttteeeeOOOOCCCC((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           The _X_S_e_t_O_C_V_a_l_u_e_s function returns NULL if no error occurred;
  75.           otherwise, it returns the name of the first argument that
  76.           could not be set.  An argument might not be set for any of
  77.           the following reasons:
  78.  
  79.           +o    The argument is read-only.
  80.  
  81.           +o    The argument name is not recognized.
  82.  
  83.           +o    An implementation-dependent error occurs.
  84.  
  85.           Each value to be set must be an appropriate datum, matching
  86.           the data type imposed by the semantics of the argument.
  87.  
  88.           The _X_G_e_t_O_C_V_a_l_u_e_s function returns NULL if no error occurred;
  89.           otherwise, it returns the name of the first argument that
  90.           could not be obtained.  An argument might not be obtained
  91.           for any of the following reasons:
  92.  
  93.           +o    The argument name is not recognized.
  94.  
  95.           +o    An implementation-dependent error occurs.
  96.  
  97.           Each argument value following a name must point to a
  98.           location where the value is to be stored.
  99.  
  100.           The _X_O_M_O_f_O_C function returns the output method associated
  101.           with the specified output context.
  102.  
  103.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  104.           XCreateOM(3X11), XCreateFontSet(3X11)
  105.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.