Searched defs:paint (Results 1 - 9 of 9) sorted by relevance

/inkscape/src/display/
H A Ddrawing-context.cpp121 void DrawingContext::paint(double alpha) { function in class:Inkscape::DrawingContext
H A Dsp-canvas.cpp1628 // it will get back and finish painting what remains to paint.
1700 // Always paint towards the mouse first
1716 // Always paint towards the mouse first
1878 int SPCanvas::paint() function in class:SPCanvas
1926 return paint();
/inkscape/src/
H A Dsp-stop.cpp203 SPIPaint paint; local
205 paint.read( styleStr.c_str() );
207 if ( paint.isColor() ) {
208 color = paint.value.color;
H A Did-clash.cpp25 #include "sp-paint-server.h"
139 const SPIPaint *paint = &(style->*prop); local
140 if (paint->isPaintserver() && paint->value.href) {
141 const SPObject *obj = paint->value.href->getObject();
H A Dgradient-chemistry.cpp871 SPIPaint paint; local
872 paint.read( color_str );
873 if( paint.isColor() ) {
874 color = paint.value.color;
1550 SPIPaint const &paint = ( (fill_or_stroke == Inkscape::FOR_FILL) ? style.fill : style.stroke ); local
1551 if (paint.isPaintserver()) {
1558 } else if (paint.isColor()) {
1559 color = paint.value.color;
H A Dstyle.cpp43 #include "sp-paint-server.h"
1333 * or stroke paint server.
1461 sp_style_set_ipaint_to_uri(SPStyle *style, SPIPaint *paint, const Inkscape::URI *uri, SPDocument *document) argument
1466 if (!paint->value.href && document) {
1467 paint->value.href = new SPPaintServerReference(document);
1468 if (paint == &style->fill) {
1469 style->fill_ps_changed_connection = paint->value.href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_fill_paint_server_ref_changed), style));
1471 style->stroke_ps_changed_connection = paint->value.href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_stroke_paint_server_ref_changed), style));
1475 if (paint->value.href){
1476 if (paint
1491 sp_style_set_ipaint_to_uri_string(SPStyle *style, SPIPaint *paint, const gchar *uri) argument
[all...]
H A Ddesktop-style.cpp526 SPIPaint *paint = isfill? &style->fill : &style->stroke; local
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
[all...]
/inkscape/src/ui/widget/
H A Dstyle-swatch.cpp281 SPIPaint *paint; local
283 paint = &(query->fill);
285 paint = &(query->stroke);
288 if (paint->set && paint->isPaintserver()) {
305 } else if (paint->set && paint->isColor()) {
306 guint32 color = paint->value.color.toRGBA32( SP_SCALE24_TO_FLOAT ((i == SS_FILL)? query->fill_opacity.value : query->stroke_opacity.value) );
318 } else if (paint->set && paint
[all...]
H A Dselected-style.cpp1019 SPIPaint *paint; local
1021 paint = &(query.fill);
1023 paint = &(query.stroke);
1025 if (paint->set && paint->isPaintserver()) {
1059 g_warning ("file %s: line %d: Unknown paint server", __FILE__, __LINE__);
1061 } else if (paint->set && paint->isColor()) {
1062 guint32 color = paint->value.color.toRGBA32(
1075 } else if (paint
[all...]

Completed in 31 milliseconds