Logo Search packages:      
Sourcecode: inkscape version File versions

bool SPDesktop::isLayer ( SPObject object  )  const

True if object is a layer.

Definition at line 442 of file desktop.cpp.

Referenced by layerForObject().

                                              {
    return ( SP_IS_GROUP(object)
             && ( SP_GROUP(object)->effectiveLayerMode(this->dkey)
                  == SPGroup::LAYER ) );
}


Generated by  Doxygen 1.6.0   Back to index