Lines Matching defs:gr
56 static void sp_gradient_selector_vector_set (SPGradientVectorSelector *gvs, SPGradient *gr, SPGradientSelector *sel);
479 return SP_GRADIENT_VECTOR_SELECTOR(vectors)->gr;
483 static void sp_gradient_selector_vector_set(SPGradientVectorSelector * /*gvs*/, SPGradient *gr, SPGradientSelector *sel)
488 gr = sp_gradient_ensure_vector_normalized (gr);
489 sel->setVector((gr) ? gr->document : 0, gr);
490 g_signal_emit (G_OBJECT (sel), signals[CHANGED], 0, gr);
525 dialog = sp_gradient_vector_editor_new (SP_GRADIENT_VECTOR_SELECTOR (sel->vectors)->gr);
547 SPGradient *gr = sp_gradient_vector_selector_get_gradient( SP_GRADIENT_VECTOR_SELECTOR (sel->vectors));
552 if (gr) {
553 repr = gr->getRepr()->duplicate(xml_doc);
555 Glib::ustring old_id = gr->getId();
556 rename_id(gr, old_id);
571 gr = SP_GRADIENT(doc->getObjectByRepr(repr));
574 sp_gradient_vector_selector_set_gradient( SP_GRADIENT_VECTOR_SELECTOR (sel->vectors), doc, gr);
576 sel->selectGradientInTree(gr);