Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_item_adjust_rects_recursive ( SPItem item,
NR::Matrix  advertized_transform 

Recursively adjust rx and ry of rects

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

Referenced by sp_item_write_transform().

    if (SP_IS_RECT (item)) {
        sp_rect_compensate_rxry (SP_RECT(item), advertized_transform);

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

Generated by  Doxygen 1.6.0   Back to index