Lines Matching refs:gradient
33 #include "widgets/gradient-vector.h"
34 #include "widgets/gradient-image.h"
45 #include "ui/tools/gradient-tool.h"
47 #include "gradient-drag.h"
49 #include "gradient-chemistry.h"
50 #include "gradient-selector.h"
101 SPMesh *gradient = SP_MESH(server); // ->getVector();
102 SPMeshType type = gradient->type;
104 if (gradient != ms_selected) {
108 ms_selected = gradient;
126 SPMesh *gradient = SP_MESH(server); // ->getVector();
127 SPMeshType type = gradient->type;
129 if (gradient != ms_selected) {
133 ms_selected = gradient;
217 SPMesh *gradient = 0;
221 SPItem *item = *i;// get the items gradient, not the getVector() version
233 gradient = SP_MESH(server);
237 if (gradient) {
238 ms_selected = gradient;
258 prefs->setInt("/tools/gradient/newfillorstroke", (fsmode == Inkscape::FOR_FILL) ? 1 : 0);
307 SPMesh *gradient = 0;
308 ms_get_dt_selected_gradient(selection, gradient);
310 if (gradient) {
313 gradient->type = type;
314 gradient->type_set = true;
315 gradient->updateRepr();
380 0, _("normal"), 1, _("Create mesh gradient"), 2, INKSCAPE_ICON("paint-gradient-mesh"), -1 );
384 0, _("conical"), 1, _("Create conical gradient"), 2, INKSCAPE_ICON("paint-gradient-conical"), -1 );
403 /* New gradient on fill or stroke*/
410 0, _("fill"), 1, _("Create gradient in the fill"), 2, INKSCAPE_ICON("object-fill"), -1 );
414 0, _("stroke"), 1, _("Create gradient in the stroke"), 2, INKSCAPE_ICON("object-stroke"), -1 );
429 bool fillstrokemode = !prefs->getBool("/tools/gradient/newfillorstroke", true);