Lines Matching defs:common_ancestor

604     SPObject *common_ancestor = one;
605 if (SP_IS_STRING(common_ancestor))
606 common_ancestor = common_ancestor->parent;
607 while (!(common_ancestor == two || common_ancestor->isAncestorOf(two))) {
608 g_assert(common_ancestor != text);
609 common_ancestor = common_ancestor->parent;
611 return common_ancestor;
774 SPObject *common_ancestor = get_common_ancestor(item, start_item, end_item);
841 while (tidy_xml_tree_recursively(common_ancestor, has_text_decoration)){};
1428 static void recursively_apply_style(SPObject *common_ancestor, SPCSSAttr const *css, SPObject *start_item, Glib::ustring::iterator start_text_iter, SPObject *end_item, Glib::ustring::iterator end_text_iter, char const *span_object_name)
1431 Inkscape::XML::Document *xml_doc = common_ancestor->document->getReprDoc();
1433 for (SPObject *child = common_ancestor->firstChild() ; child ; child = child->getNext()) {
1464 common_ancestor->getRepr()->addChild(text_before, prev_repr);
1465 common_ancestor->getRepr()->addChild(child_span, text_before);
1477 common_ancestor->getRepr()->addChild(child_span, prev_repr);
1487 common_ancestor->getRepr()->addChild(text_before, prev_repr);
1488 common_ancestor->getRepr()->addChild(child_span, text_before);
1494 child = common_ancestor->get_child_by_repr(child_span);
1501 common_ancestor->getRepr()->addChild(child_span, child_repr);
1503 common_ancestor->getRepr()->removeChild(child_repr);
1506 child = common_ancestor->get_child_by_repr(child_span);
1530 possible child of \a common_ancestor. There is no iterator return because
1536 static SPObject* ascend_while_first(SPObject *item, Glib::ustring::iterator text_iter, SPObject *common_ancestor)
1538 if (item == common_ancestor)
1545 if (parent == common_ancestor) {
2010 SPObject *common_ancestor = get_common_ancestor(text, start_item, end_item);
2017 Geom::Affine const local(SP_ITEM(common_ancestor)->i2doc_affine());
2025 start_item = ascend_while_first(start_item, start_text_iter, common_ancestor);
2026 end_item = ascend_while_first(end_item, end_text_iter, common_ancestor);
2027 recursively_apply_style(common_ancestor, css_set, start_item, start_text_iter, end_item, end_text_iter, span_name_for_text_object(text));
2045 while (tidy_xml_tree_recursively(common_ancestor, has_text_decoration)){};