Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::Version sp_object_get_sodipodi_version ( SPObject object  ) 

Return sodipodi version of first root ancestor or (0,0).

Definition at line 1570 of file sp-object.cpp.

{
    static Inkscape::Version const zero_version(0, 0);

    while (object) {
        if (SP_IS_ROOT(object)) {
            return SP_ROOT(object)->version.sodipodi;
        }
        object = SP_OBJECT_PARENT(object);
    }

    return zero_version;
}


Generated by  Doxygen 1.6.0   Back to index