Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

bool sp_lpe_item_has_broken_path_effect ( SPLPEItem *  lpeitem  ) 

used for shapes so they can see if they should also disable shape calculation and read from d=

Definition at line 608 of file sp-lpe-item.cpp.

{
    if (lpeitem->path_effect_list->empty())
        return false;

    // go through the list; if some are unknown or invalid, return true
    PathEffectList effect_list =  sp_lpe_item_get_effect_list(lpeitem);
    for (PathEffectList::iterator it = effect_list.begin(); it != effect_list.end(); it++)
    {
        LivePathEffectObject *lpeobj = (*it)->lpeobject;
        if (!lpeobj || !lpeobj->get_lpe())
            return true;
    }

    return false;
}


Generated by  Doxygen 1.6.0   Back to index