pango-Glyph-Storage          package:RGtk2          R Documentation

_G_l_y_p_h _S_t_o_r_a_g_e

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

     Structures for storing information about glyphs

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

     'pangoUnitsToDouble(i)'
      'pangoUnitsFromDouble(d)'
      'pangoExtentsToPixels(inclusive, nearest)'
      'pangoMatrixCopy(object)'
      'pangoMatrixTranslate(object, tx, ty)'
      'pangoMatrixScale(object, scale.x, scale.y)'
      'pangoMatrixRotate(object, degrees)'
      'pangoMatrixConcat(object, new.matrix)'
      'pangoMatrixTransformPoint(object, x, y)'
      'pangoMatrixTransformDistance(object, dx, dy)'
      'pangoMatrixTransformRectangle(object, rect)'
      'pangoMatrixTransformPixelRectangle(object, rect)'
      'pangoMatrixGetFontScaleFactor(object)'
      'pangoGlyphStringNew()'
      'pangoGlyphStringCopy(object)'
      'pangoGlyphStringSetSize(object, new.len)'
      'pangoGlyphStringExtents(object, font)'
      'pangoGlyphStringExtentsRange(object, start, end, font)'
      'pangoGlyphStringGetWidth(object)'
      'pangoGlyphStringIndexToX(object, text, analysis, index,
     trailing)'
      'pangoGlyphStringXToIndex(object, text, analysis, x.pos)'
      'pangoGlyphStringGetLogicalWidths(object, text, embedding.level)'
      'pangoGlyphItemSplit(orig, text, split.index)'
      'pangoGlyphItemApplyAttrs(glyph.item, text, list)'
      'pangoGlyphItemLetterSpace(glyph.item, text, log.attrs)'

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

     'pangoShape' produces a string of glyphs which can be measured or
     drawn to the screen. The following structures are used to store
     information about glyphs.

_S_t_r_u_c_t_u_r_e_s:


     '_P_a_n_g_o_R_e_c_t_a_n_g_l_e' The 'PangoRectangle' structure represents a
          rectangle. It is frequently used to represent the logical or
          ink extents of a single glyph or section of text. (See, for
          instance, 'pangoFontGetGlyphExtents') *'PangoRectangle' is a
          transparent-type.*

          '_x' [integer] X coordinate of the left side of the rectangle.

          '_y' [integer] Y coordinate of the the top side of the
               rectangle.

          '_w_i_d_t_h' [integer] width of the rectangle.

          '_h_e_i_g_h_t' [integer] height of the rectangle.


     '_P_a_n_g_o_M_a_t_r_i_x' A structure specifying a transformation between
          user-space coordinates and device coordinates. The
          transformation is given by

          x_device = x_user * matrix->xx + y_user * matrix->xy +
          matrix->x0;
          y_device = x_user * matrix->yx + y_user * matrix->yy +
          matrix->y0;


          Since  1.6

          '_x_x' [numeric]  1st component of the transformation matrix

          '_x_y' [numeric]  2nd component of the transformation matrix

          '_y_x' [numeric]  3rd component of the transformation matrix

          '_y_y' [numeric]  4th component of the transformation matrix

          '_x_0' [numeric]  x translation

          '_y_0' [numeric]  y translation


     '_P_a_n_g_o_G_l_y_p_h_I_n_f_o' The 'PangoGlyphInfo' structure represents a
          single glyph together with positioning information and visual
          attributes. It contains the following fields.

          '_g_l_y_p_h' [numeric] the glyph itself.

          '_g_e_o_m_e_t_r_y' ['PangoGlyphGeometry'] the positional information
               about the glyph.

          '_a_t_t_r' ['PangoGlyphVisAttr'] the visual attributes of the
               glyph.


     '_P_a_n_g_o_G_l_y_p_h_G_e_o_m_e_t_r_y' The 'PangoGlyphGeometry' structure contains
          width and positioning information for a single glyph. 

          '_w_i_d_t_h' [integer] the logical width to use for the the
               character.

          '_x_O_f_f_s_e_t' [integer] horizontal offset from nominal character
               position.

          '_y_O_f_f_s_e_t' [integer] vertical offset from nominal character
               position.


     '_P_a_n_g_o_G_l_y_p_h_V_i_s_A_t_t_r' The PangoGlyphVisAttr is used to communicate
          information between the shaping phase and the rendering
          phase.  More attributes may be added in the future.

          '_i_s_C_l_u_s_t_e_r_S_t_a_r_t' [numeric] set for the first logical glyph in
               each cluster. (Clusters are stored in visual order,
               within the cluster, glyphs are always ordered in logical
               order, since visual order is meaningless; that is, in
               Arabic text, accent glyphs follow the glyphs for the
               base character.)


     '_P_a_n_g_o_G_l_y_p_h_S_t_r_i_n_g' The 'PangoGlyphString' structure is used to
          store strings of glyphs with geometry and visual attribute
          information. The storage for the glyph information is owned
          by the structure which simplifies memory management.

          '_n_u_m_G_l_y_p_h_s' [integer] the number of glyphs in the string.

          '_g_l_y_p_h_s' ['PangoGlyphInfo'] a list of 'PangoGlyphInfo'
               structures of length 'num_glyphs'.

          '_l_o_g_C_l_u_s_t_e_r_s' [integer] for each glyph, byte index of the
               starting character for the cluster. The indices are
               relative to the start of the text corresponding to the
               PangoGlyphString.


     '_P_a_n_g_o_G_l_y_p_h_I_t_e_m' A 'PangoGlyphItem' is a pair of a 'PangoItem' and
          the glyphs resulting from shaping the text corresponding to
          an item. As an example of the usage of 'PangoGlyphItem', the
          results of shaping text with 'PangoLayout' is a list of
          'PangoLayoutLine', each of which contains a list of
          'PangoGlyphItem'.

          '_i_t_e_m' ['PangoItem'] a 'PangoItem' structure that provides
               information about a segment of text.

          '_g_l_y_p_h_s' ['PangoGlyphString'] the glyphs obtained by shaping
               the text corresponding to 'item'.


_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-Glyph-Storage.html>

