Lines Matching defs:fill_or_stroke

566 SPGradient *getGradient(SPItem *item, Inkscape::PaintTarget fill_or_stroke)
571 switch (fill_or_stroke)
665 void sp_item_gradient_edit_stop(SPItem *item, GrPointType point_type, guint point_i, Inkscape::PaintTarget fill_or_stroke)
667 SPGradient *gradient = getGradient(item, fill_or_stroke);
707 guint32 sp_item_gradient_stop_query_style(SPItem *item, GrPointType point_type, guint point_i, Inkscape::PaintTarget fill_or_stroke)
709 SPGradient *gradient = getGradient(item, fill_or_stroke);
799 void sp_item_gradient_stop_set_style(SPItem *item, GrPointType point_type, guint point_i, Inkscape::PaintTarget fill_or_stroke, SPCSSAttr *stop)
802 g_message("sp_item_gradient_stop_set_style(%p, %d, %d, %d, %p)", item, point_type, point_i, fill_or_stroke, stop);
804 SPGradient *gradient = getGradient(item, fill_or_stroke);
907 void sp_item_gradient_reverse_vector(SPItem *item, Inkscape::PaintTarget fill_or_stroke)
910 g_message("sp_item_gradient_reverse_vector(%p, %d)", item, fill_or_stroke);
912 SPGradient *gradient = getGradient(item, fill_or_stroke);
964 void sp_item_gradient_invert_vector_color(SPItem *item, Inkscape::PaintTarget fill_or_stroke)
967 g_message("sp_item_gradient_invert_vector_color(%p, %d)", item, fill_or_stroke);
969 SPGradient *gradient = getGradient(item, fill_or_stroke);
1004 Set the position of point point_type of the gradient applied to item (either fill_or_stroke) to
1007 void sp_item_gradient_set_coords(SPItem *item, GrPointType point_type, guint point_i, Geom::Point p_w, Inkscape::PaintTarget fill_or_stroke, bool write_repr, bool scale)
1012 SPGradient *gradient = getGradient(item, fill_or_stroke);
1018 gradient = sp_gradient_convert_to_userspace(gradient, item, (fill_or_stroke == Inkscape::FOR_FILL) ? "fill" : "stroke");
1249 SPGradient *sp_item_gradient_get_vector(SPItem *item, Inkscape::PaintTarget fill_or_stroke)
1251 SPGradient *gradient = getGradient(item, fill_or_stroke);
1259 SPGradientSpread sp_item_gradient_get_spread(SPItem *item, Inkscape::PaintTarget fill_or_stroke)
1262 SPGradient *gradient = getGradient(item, fill_or_stroke);
1272 Returns the position of point point_type of the gradient applied to item (either fill_or_stroke),
1275 Geom::Point getGradientCoords(SPItem *item, GrPointType point_type, guint point_i, Inkscape::PaintTarget fill_or_stroke)
1278 g_message("getGradientCoords(%p, %d, %d, %d)", item, point_type, point_i, fill_or_stroke);
1280 SPGradient *gradient = getGradient(item, fill_or_stroke);
1392 SPGradient *sp_item_set_gradient(SPItem *item, SPGradient *gr, SPGradientType type, Inkscape::PaintTarget fill_or_stroke)
1395 g_message("sp_item_set_gradient(%p, %p, %d, %d)", item, gr, type, fill_or_stroke);
1407 if ((fill_or_stroke == Inkscape::FOR_FILL) ? style->fill.isPaintserver() : style->stroke.isPaintserver()) {
1408 ps = (fill_or_stroke == Inkscape::FOR_FILL) ? SP_STYLE_FILL_SERVER(style) : SP_STYLE_STROKE_SERVER(style);
1447 sp_style_set_property_url(item, (fill_or_stroke == Inkscape::FOR_FILL) ? "fill" : "stroke", normalized, true);
1459 sp_style_set_property_url(item, ( (fill_or_stroke == Inkscape::FOR_FILL) ? "fill" : "stroke" ), constructed, true);
1542 SPObject *const o, Inkscape::PaintTarget const fill_or_stroke, bool singleStop )
1546 color = sp_desktop_get_color(desktop, (fill_or_stroke == Inkscape::FOR_FILL));
1550 SPIPaint const &paint = ( (fill_or_stroke == Inkscape::FOR_FILL) ? style.fill : style.stroke );
1552 SPObject *server = (fill_or_stroke == Inkscape::FOR_FILL) ? o->style->getFillPaintServer() : o->style->getStrokePaintServer();
1556 color = sp_desktop_get_color(desktop, (fill_or_stroke == Inkscape::FOR_FILL));
1562 color = sp_desktop_get_color(desktop, (fill_or_stroke == Inkscape::FOR_FILL));
1569 void sp_gradient_invert_selected_gradients(SPDesktop *desktop, Inkscape::PaintTarget fill_or_stroke)
1575 sp_item_gradient_invert_vector_color(*i, fill_or_stroke);