cairo-cairo-matrix-t          package:RGtk2          R Documentation

_c_a_i_r_o__m_a_t_r_i_x__t

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

     Generic matrix operations

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

     'cairoMatrixInit(xx, yx, xy, yy, x0, y0)'
      'cairoMatrixInitIdentity()'
      'cairoMatrixInitTranslate(tx, ty)'
      'cairoMatrixInitScale(sx, sy)'
      'cairoMatrixInitRotate(radians)'
      'cairoMatrixTranslate(matrix, tx, ty)'
      'cairoMatrixScale(matrix, sx, sy)'
      'cairoMatrixRotate(matrix, radians)'
      'cairoMatrixInvert(matrix)'
      'cairoMatrixMultiply(result, a, b)'
      'cairoMatrixTransformDistance(matrix, dx, dy)'
      'cairoMatrixTransformPoint(matrix, x, y)'

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

     'CairoMatrix' is used throughout cairo to convert between
     different coordinate spaces.  A 'CairoMatrix' holds an affine
     transformation, such as a scale, rotation, shear, or a combination
     of these. The transformation of a point ('x','y') is given by:

     x_new = xx * x + xy * y + x0;
         y_new = yx * x + yy * y + y0;

      The current transformation matrix of a 'Cairo', represented as a
     'CairoMatrix', defines the transformation from user-space
     coordinates to device-space coordinates. See 'cairoGetMatrix' and
     'cairoSetMatrix'.

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


     '_C_a_i_r_o_M_a_t_r_i_x' A 'CairoMatrix' holds an affine transformation, such
          as a scale, rotation, shear, or a combination of those. The
          transformation of a point (x, y) is given by:

          x_new = xx * x + xy * y + x0;
              y_new = yx * x + yy * y + y0;


          '_x_x' [numeric]  xx component of the affine transformation

          '_y_x' [numeric]  yx component of the affine transformation

          '_x_y' [numeric]  xy component of the affine transformation

          '_y_y' [numeric]  yy component of the affine transformation

          '_x_0' [numeric]  X translation component of the affine
               transformation

          '_y_0' [numeric]  Y translation component of the affine
               transformation


_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://www.cairographics.org/manual/cairo-cairo-matrix-t.html>

