pango-Vertical-Text          package:RGtk2          R Documentation

_V_e_r_t_i_c_a_l _T_e_x_t

_D_e_s_c_r_i_p_t_i_o_n:

     Laying text out in vertical directions

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'pangoGravityGetForMatrix(matrix)'
      'pangoGravityGetForScript(script, base.gravity, hint)'

_D_e_t_a_i_l_e_d _D_e_s_c_r_i_p_t_i_o_n:

     Since 1.16, Pango is able to correctly lay vertical text out.  In
     fact, it can set layouts of mixed vertical and non-vertical text. 
     This section describes the types used for setting vertical text
     parameters.

_E_n_u_m_s _a_n_d _F_l_a_g_s:

     '_P_a_n_g_o_G_r_a_v_i_t_y' The 'PangoGravity' type represents the orientation
          of glyphs in a segment of text.  This is useful when
          rendering vertical text layouts.  In those situations, the
          layout is rotated using a non-identity PangoMatrix, and then
          glyph orientation is controlled using 'PangoGravity'. Not
          every value in this enumeration makes sense for every usage
          of 'PangoGravity'; for example, 'PANGO_GRAVITY_AUTO' only can
          be passed to 'pangoContextSetBaseGravity' and can only be
          returned by 'pangoContextGetBaseGravity'.

          See also: 'PangoGravityHint'  

          Since  1.16

          '_s_o_u_t_h' Glyphs stand upright (default)

          '_e_a_s_t' Glyphs are rotated 90 degrees clockwise

          '_n_o_r_t_h' Glyphs are upside-down

          '_w_e_s_t' Glyphs are rotated 90 degrees counter-clockwise

          '_a_u_t_o' Gravity is resolved from the context matrix


     '_P_a_n_g_o_G_r_a_v_i_t_y_H_i_n_t' The 'PangoGravityHint' defines how horizontal
          scripts should behave in a vertical context.  That is,
          English excerpt in a vertical paragraph for example.

          See 'PangoGravity'.  

          Since  1.16

          '_n_a_t_u_r_a_l' scripts will take their natural gravity based on
               the base gravity and the script.  This is the default.

          '_s_t_r_o_n_g' always use the base gravity set, regardless of the
               script.

          '_l_i_n_e' for scripts not in their natural direction (eg. Latin
               in East gravity), choose per-script gravity such that
               every script respects the line progression.  This means,
               Latin and Arabic will take opposite gravities and both
               flow top-to-bottom for example.


_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/pango/pango-Vertical-Text.html>

