Logo Search packages:      
Sourcecode: inkscape version File versions

Matrix NR::identity (  )  [inline]

return an Identity matrix

Returns the Identity Matrix.

Definition at line 318 of file nr-matrix.cpp.

Referenced by do_update(), i2anc_affine(), paint(), sp_canvas_item_i2w_affine(), sp_canvas_item_init(), sp_gradient_init(), sp_gradient_set(), sp_item_i2root_affine(), sp_item_transform_repr(), sp_item_write_transform(), sp_lineargradient_painter_new(), sp_root_build(), and sp_root_update().

    Matrix ret(1.0, 0.0,
               0.0, 1.0,
               0.0, 0.0);
    return ret;

Generated by  Doxygen 1.6.0   Back to index