Logo Search packages:      
Sourcecode: inkscape version File versions

Matrix NR::identity (  ) 

return an Identity matrix

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

Referenced by i2anc_affine(), sp_item_i2doc_affine(), sp_item_i2root_affine(), sp_item_transform_repr(), and sp_item_write_transform().

{
    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