/inkscape/src/ |
H A D | gradient-drag.h | 53 GrDraggable(SPItem *item, GrPointType point_type, guint point_i, Inkscape::PaintTarget fill_or_stroke); 59 Inkscape::PaintTarget fill_or_stroke; member in struct:GrDraggable 66 return ((item == other->item) && (point_type == other->point_type) && (point_i == other->point_i) && (fill_or_stroke == other->fill_or_stroke)); 102 void moveThisToDraggable(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke, bool write_repr); 103 void moveOtherToDraggable(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke, bool write_repr); 114 bool isA(SPItem *item, GrPointType point_type, Inkscape::PaintTarget fill_or_stroke); 115 bool isA(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke); 171 GrDragger *getDraggerFor(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke); 174 void grabKnot(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke, gin [all...] |
H A D | gradient-chemistry.cpp | 566 SPGradient *getGradient(SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 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) argument 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) argument 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) argument 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) argument 964 sp_item_gradient_invert_vector_color(SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 1007 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) argument 1249 sp_item_gradient_get_vector(SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 1259 sp_item_gradient_get_spread(SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 1275 getGradientCoords(SPItem *item, GrPointType point_type, guint point_i, Inkscape::PaintTarget fill_or_stroke) argument 1392 sp_item_set_gradient(SPItem *item, SPGradient *gr, SPGradientType type, Inkscape::PaintTarget fill_or_stroke) argument 1541 sp_gradient_vector_for_object( SPDocument *const doc, SPDesktop *const desktop, SPObject *const o, Inkscape::PaintTarget const fill_or_stroke, bool singleStop ) argument 1569 sp_gradient_invert_selected_gradients(SPDesktop *desktop, Inkscape::PaintTarget fill_or_stroke) argument [all...] |
H A D | gradient-drag.cpp | 165 guint32 c = sp_item_gradient_stop_query_style (draggable->item, draggable->point_type, draggable->point_i, draggable->fill_or_stroke); 314 sp_item_gradient_stop_set_style(draggable->item, draggable->point_type, draggable->point_i, draggable->fill_or_stroke, stop); 337 guint32 c = sp_item_gradient_stop_query_style (draggable->item, draggable->point_type, draggable->point_i, draggable->fill_or_stroke); 373 Inkscape::PaintTarget fill_or_stroke = *it; local 374 gradient = getGradient(item, fill_or_stroke); 376 Geom::Point begin = getGradientCoords(item, POINT_LG_BEGIN, 0, fill_or_stroke); 377 Geom::Point end = getGradientCoords(item, POINT_LG_END, 0, fill_or_stroke); 389 Geom::Point begin = getGradientCoords(item, POINT_RG_CENTER, 0, fill_or_stroke); 390 Geom::Point end = getGradientCoords(item, POINT_RG_R1, 0, fill_or_stroke); 402 end = getGradientCoords(item, POINT_RG_R2, 0, fill_or_stroke); 702 GrDraggable(SPItem *item, GrPointType point_type, guint point_i, Inkscape::PaintTarget fill_or_stroke) argument 1232 isA(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke) argument 1246 isA(SPItem *item, GrPointType point_type, Inkscape::PaintTarget fill_or_stroke) argument 1366 fill_or_stroke = draggable->fill_or_stroke; local 1474 moveThisToDraggable(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke, bool write_repr) argument 1657 getDraggerFor(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke) argument 1675 moveOtherToDraggable(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke, bool write_repr) argument 1859 addLine(SPItem *item, Geom::Point p1, Geom::Point p2, Inkscape::PaintTarget fill_or_stroke) argument 1875 addCurve(SPItem *item, Geom::Point p0, Geom::Point p1, Geom::Point p2, Geom::Point p3, Inkscape::PaintTarget fill_or_stroke) argument 1913 addDraggersRadial(SPRadialGradient *rg, SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 1936 addDraggersLinear(SPLinearGradient *lg, SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 1952 addDraggersMesh(SPMesh *mg, SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 2051 grabKnot(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke, gint x, gint y, guint32 etime) argument [all...] |
/inkscape/src/ui/tools/ |
H A D | mesh-tool.cpp | 194 // bool fill_or_stroke = draggable->fill_or_stroke; 345 SPMesh *gradient = SP_MESH( getGradient (d->item, d->fill_or_stroke) ); 939 Inkscape::PaintTarget fill_or_stroke = (prefs->getInt("/tools/gradient/newfillorstroke", 1) != 0) ? Inkscape::FOR_FILL : Inkscape::FOR_STROKE; local 944 vector = sp_gradient_vector_for_object(document, desktop, ec->item_to_select, fill_or_stroke); 951 vector = sp_gradient_vector_for_object(document, desktop, SP_ITEM(items.back()), fill_or_stroke); 964 sp_item_set_gradient(*i, vector, (SPGradientType) type, fill_or_stroke);
|
H A D | gradient-tool.cpp | 237 SPGradient *gradient = getGradient(d->item, d->fill_or_stroke); 253 Inkscape::PaintTarget fs = d->fill_or_stroke; 328 SPGradient *gradient = getGradient(d->item, d->fill_or_stroke); 891 Inkscape::PaintTarget fill_or_stroke = (prefs->getInt("/tools/gradient/newfillorstroke", 1) != 0) ? Inkscape::FOR_FILL : Inkscape::FOR_STROKE; local 896 vector = sp_gradient_vector_for_object(document, desktop, ec->item_to_select, fill_or_stroke); 903 vector = sp_gradient_vector_for_object(document, desktop, SP_ITEM(items.back()), fill_or_stroke); 916 sp_item_set_gradient(*i, vector, (SPGradientType) type, fill_or_stroke); 919 sp_item_gradient_set_coords (*i, POINT_LG_BEGIN, 0, rc.origin, fill_or_stroke, true, false); 920 sp_item_gradient_set_coords (*i, POINT_LG_END, 0, pt, fill_or_stroke, true, false); 922 sp_item_gradient_set_coords (*i, POINT_RG_CENTER, 0, rc.origin, fill_or_stroke, tru [all...] |
H A D | tweak-tool.cpp | 761 static void tweak_colors_in_gradient(SPItem *item, Inkscape::PaintTarget fill_or_stroke, argument 765 SPGradient *gradient = getGradient(item, fill_or_stroke);
|
/inkscape/src/widgets/ |
H A D | stroke-style.cpp | 735 StrokeStyle::getItemColorForMarker(SPItem *item, Inkscape::PaintTarget fill_or_stroke, int loc) argument 739 if (fill_or_stroke == FOR_FILL) 747 SPGradient *grad = getGradient(item, fill_or_stroke);
|