Lines Matching defs:paint
526 SPIPaint *paint = isfill? &style->fill : &style->stroke;
528 // We consider paint "effectively set" for anything within text hierarchy
531 paint->set || (dynamic_cast<SPText *>(parent) || dynamic_cast<SPTextPath *>(parent) || dynamic_cast<SPTSpan *>(parent)
538 if ((!paintImpossible) && (!paint->isSameType(*paint_res) || (paint_res->set != paint_effectively_set))) {
539 return QUERY_STYLE_MULTIPLE_DIFFERENT; // different types of paint
542 if (paint_res->set && paint->set && paint_res->isPaintserver()) {
543 // both previous paint and this paint were a server, see if the servers are compatible
587 // 2. Sum color, copy server from paint to paint_res
589 if (paint_res->set && paint_effectively_set && paint->isColor()) {
591 sp_color_get_rgb_floatv (&paint->value.color, d);
599 iccColor = paint->value.color.icc;
607 if ( !paint->value.color.icc
608 || (iccColor->colorProfile != paint->value.color.icc->colorProfile)
609 || !vectorsClose(iccColor->colors, paint->value.color.icc->colors) ) {
626 paint_res->colorSet = paint->colorSet;
627 paint_res->paintOrigin = paint->paintOrigin;
628 if (paint_res->set && paint_effectively_set && paint->isPaintserver()) { // copy the server
977 * Write to style_res the paint order of a list of objects.