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

static void sp_root_bbox ( SPItem const *  item,
NRRect *  bbox,
NR::Matrix const &  transform,
unsigned const   flags 
) [static]

Virtual bbox callback.

Definition at line 644 of file sp-root.cpp.

References SPRoot::c2p.

Referenced by sp_root_class_init().

{
    SPRoot const *root = SP_ROOT(item);

    if (((SPItemClass *) (parent_class))->bbox) {
        NR::Matrix const product( root->c2p * transform );
        ((SPItemClass *) (parent_class))->bbox(item, bbox,
                                               product,
                                               flags);
    }
}


Generated by  Doxygen 1.6.0   Back to index