Searched refs:SPStop (Results 1 - 18 of 18) sorted by relevance

/inkscape/src/
H A Dsp-stop.h5 * SPStop: SVG <stop> implementation.
20 #define SP_STOP(obj) (dynamic_cast<SPStop*>((SPObject*)obj))
21 #define SP_IS_STOP(obj) (dynamic_cast<const SPStop*>((SPObject*)obj) != NULL)
24 class SPStop : public SPObject { class in inherits:SPObject
26 SPStop();
27 virtual ~SPStop();
48 SPStop* getNextStop();
49 SPStop* getPrevStop();
H A Dsp-stop.cpp27 SPStop::SPStop() : SPObject() { function in class:SPStop
36 SPStop::~SPStop() {
39 void SPStop::build(SPDocument* doc, Inkscape::XML::Node* repr) {
53 void SPStop::set(unsigned int key, const gchar* value) {
71 this->specified_color = SPStop::readStopColor( p );
89 this->specified_color = SPStop::readStopColor( p );
132 Inkscape::XML::Node* SPStop::write(Inkscape::XML::Document* xml_doc, Inkscape::XML::Node* repr, guint flags) {
169 SPStop* SPSto
[all...]
H A Dgradient-chemistry.h64 SPStop* sp_last_stop(SPGradient *gradient);
65 SPStop* sp_get_stop_i(SPGradient *gradient, unsigned int i);
67 unsigned int sp_number_of_stops_before_stop(SPGradient const *gradient, SPStop *target);
71 SPStop *sp_vector_add_stop(SPGradient *vector, SPStop* prev_stop, SPStop* next_stop, gfloat offset);
H A Dsp-gradient.h30 class SPStop;
128 SPStop* getFirstStop();
H A Dgradient-drag.h41 class SPStop;
158 void selectByStop(SPStop *stop, bool add_to_selection = true, bool override = true);
163 SPStop *addStopNearPoint(SPItem *item, Geom::Point mouse_p, double tolerance);
H A Dgradient-chemistry.cpp594 SPStop *sp_last_stop(SPGradient *gradient)
596 for (SPStop *stop = gradient->getFirstStop(); stop != NULL; stop = stop->getNextStop()) {
603 SPStop *sp_get_stop_i(SPGradient *gradient, guint stop_i)
605 SPStop *stop = gradient->getFirstStop();
638 SPStop *sp_vector_add_stop(SPGradient *vector, SPStop* prev_stop, SPStop* next_stop, gfloat offset)
648 SPStop *newstop = reinterpret_cast<SPStop *>(vector->document->getObjectByRepr(new_stop_repr));
727 SPStop *firs
[all...]
H A Dgradient-drag.cpp216 SPStop *firstStop = (vect) ? vect->getFirstStop() : grad->getFirstStop();
358 SPStop *GrDrag::addStopNearPoint(SPItem *item, Geom::Point mouse_p, double tolerance)
360 gfloat new_stop_offset = 0; // type of SPStop.offset = gfloat
523 SPStop* prev_stop = vector->getFirstStop();
524 SPStop* next_stop = prev_stop->getNextStop();
537 SPStop *newstop = sp_vector_add_stop (vector, prev_stop, next_stop, new_stop_offset);
607 SPStop *stop = addStopNearPoint(line->item, p, 5/desktop->current_zoom());
1119 SPStop *stop = NULL;
1126 SPStop *next = stop->getNextStop();
1139 SPStop *pre
[all...]
H A Dsp-gradient.cpp2 * SPGradient, SPStop, SPLinearGradient, SPRadialGradient,
129 SPStop *as = this->getVector()->getFirstStop();
130 SPStop *bs = that->getVector()->getFirstStop();
558 SPStop* SPGradient::getFirstStop()
560 SPStop* first = 0;
573 for (SPStop *stop = const_cast<SPGradient*>(this)->getFirstStop(); stop && stop->getNextStop(); stop = stop->getNextStop()) {
942 SPStop *stop = SP_STOP(child);
H A Dsp-factory.cpp213 ret = new SPStop;
H A Dsp-mesh-array.cpp663 SPStop *stop = SP_STOP(so);
1017 SPStop *firstStop = (vector) ?
/inkscape/src/widgets/
H A Dgradient-vector.h35 class SPStop;
83 GtkWidget *sp_gradient_vector_editor_new (SPGradient *gradient, SPStop *stop = NULL);
H A Dswatch-selector.cpp75 SPStop* stop = ngr->getFirstStop();
124 SPStop* stop = vector->getFirstStop();
H A Dgradient-vector.cpp80 static SPStop *get_selected_stop( GtkWidget *vb);
356 SPStop *stop = gr->getFirstStop();
483 static GtkWidget *sp_gradient_vector_widget_new(SPGradient *gradient, SPStop *stop);
500 static void update_stop_list( GtkWidget *vb, SPGradient *gradient, SPStop *new_stop);
526 SPStop *stop = NULL;
566 static void select_stop_in_list( GtkWidget *vb, SPGradient *gradient, SPStop *new_stop)
582 static void update_stop_list( GtkWidget *vb, SPGradient *gradient, SPStop *new_stop)
621 SPStop *stop = SP_STOP(sl->data);
649 SPStop *stop = get_selected_stop(tbl);
668 SPStop *pre
[all...]
H A Dgradient-toolbar.cpp55 static gboolean update_stop_list( GtkWidget *stop_combo, SPGradient *gradient, SPStop *new_stop, GtkWidget *widget, bool gr_multi);
57 static void select_stop_in_list( GtkWidget *combo_box, SPGradient *gradient, SPStop *new_stop, GtkWidget *data, gboolean block);
454 static SPStop *get_selected_stop( GtkWidget *vb)
456 SPStop *stop = NULL;
539 SPStop *stop = get_selected_stop(widget);
637 SPStop *stop = get_selected_stop(data);
694 SPStop *stop = vector->getFirstStop();
720 static void select_stop_in_list( GtkWidget *combo_box, SPGradient *gradient, SPStop *new_stop, GtkWidget *data, gboolean block)
737 static gboolean update_stop_list( GtkWidget *stop_combo, SPGradient *gradient, SPStop *new_stop, GtkWidget *widget, bool gr_multi)
783 SPStop *sto
[all...]
H A Dstroke-style.cpp750 SPStop *stop = vector->getFirstStop();
/inkscape/src/ui/tools/
H A Dgradient-tool.cpp249 SPStop *this_stop = sp_get_stop_i (vector, d->point_i);
250 SPStop *next_stop = this_stop->getNextStop();
251 SPStop *last_stop = sp_last_stop (vector);
330 SPStop *this_stop = sp_get_stop_i (vector, d->point_i);
332 SPStop *next_stop = this_stop->getNextStop();
347 SPStop *this_stop = (SPStop *) i->data;
348 SPStop *next_stop = (SPStop *) j->data;
353 SPStop *new_sto
[all...]
H A Dtweak-tool.cpp836 SPStop *stop = dynamic_cast<SPStop *>(child);
844 SPStop *prevStop = dynamic_cast<SPStop *>(child_prev);
/inkscape/src/extension/internal/
H A Dodf.cpp1479 for (SPStop *stop = grvec->getFirstStop();

Completed in 164 milliseconds