Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_item_adjust_stroke_width_recursive ( SPItem item,
double  expansion 

Recursively scale stroke width in item and its children by expansion.

Definition at line 1302 of file sp-item.cpp.

References SPObject::next.

Referenced by sp_item_write_transform().

    sp_item_adjust_stroke (item, expansion);

// A clone's child is the ghost of its original - we must not touch it, skip recursion
    if (item && SP_IS_USE(item))

    for (SPObject *o = SP_OBJECT(item)->children; o != NULL; o = o->next) {
        if (SP_IS_ITEM(o))
            sp_item_adjust_stroke_width_recursive(SP_ITEM(o), expansion);

Generated by  Doxygen 1.6.0   Back to index