Logo Search packages:      
Sourcecode: inkscape version File versions

void SPObject::_requireSVGVersion ( Inkscape::Version  version  )  [inherited]

Lifts SVG version of all root objects to version.

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

References SPRoot::svg, and SPRoot::version.

                                                    {
    for ( SPObject::ParentIterator iter=this ; iter ; ++iter ) {
        SPObject *object=iter;
        if (SP_IS_ROOT(object)) {
            SPRoot *root=SP_ROOT(object);
            if ( root->version.svg < version ) {
                root->version.svg = version;
            }
        }
    }
}


Generated by  Doxygen 1.6.0   Back to index