/inkscape/src/ui/tools/ |
H A D | dynamic-base.h | 94 double mass, drag; member in class:Inkscape::UI::Tools::DynamicBase
|
H A D | box3d-tool.cpp | 204 // save drag origin 252 break; // do not drag if we're within tolerance from origin 303 this->drag(event->motion.state); 499 void Box3dTool::drag(guint /*state*/) { function in class:Inkscape::UI::Tools::Box3dTool
|
H A D | spiral-tool.cpp | 182 break; // do not drag if we're within tolerance from origin 197 this->drag(motion_dt, event->motion.state); 335 void SpiralTool::drag(Geom::Point const &p, guint state) { function in class:Inkscape::UI::Tools::SpiralTool
|
H A D | arc-tool.cpp | 176 break; // do not drag if we're within tolerance from origin 186 this->drag(motion_dt, event->motion.state); 329 void ArcTool::drag(Geom::Point pt, guint state) { function in class:Inkscape::UI::Tools::ArcTool
|
H A D | rect-tool.cpp | 175 // save drag origin 214 break; // do not drag if we're within tolerance from origin 224 this->drag(motion_dt, event->motion.state); // this will also handle the snapping 369 void RectTool::drag(Geom::Point const pt, guint state) { function in class:Inkscape::UI::Tools::RectTool
|
H A D | star-tool.cpp | 196 break; // do not drag if we're within tolerance from origin 206 this->drag(motion_dt, event->motion.state); 349 void StarTool::drag(Geom::Point p, guint state) function in class:Inkscape::UI::Tools::StarTool
|
H A D | mesh-tool.cpp | 44 #include "gradient-drag.h" 99 GrDrag *drag = this->_grdrag; local 108 if (!drag->isNonEmpty() || selection->isEmpty()) { 112 guint n_tot = drag->numDraggers(); 113 guint n_sel = drag->numSelected(); 117 if (drag->singleSelectedDraggerNumDraggables() == 1) { 125 message,_(ms_handle_descr[drag->singleSelectedDraggerSingleDraggableType()]), n_tot, n_obj); 130 ngettext("One handle merging %d stop (drag with <b>Shift</b> to separate) selected", 131 "One handle merging %d stops (drag with <b>Shift</b> to separate) selected", 132 drag 246 GrDrag *drag = event_context->_grdrag; local 257 GrDrag *drag = event_context->_grdrag; local 328 GrDrag *drag = rc->_grdrag; local 439 GrDrag *drag = this->_grdrag; local [all...] |
H A D | gradient-tool.cpp | 35 #include "gradient-drag.h" 104 GrDrag *drag = rc->_grdrag; local 111 if (!drag->isNonEmpty() || selection->isEmpty()) 113 guint n_tot = drag->numDraggers(); 114 guint n_sel = drag->numSelected(); 118 if (drag->singleSelectedDraggerNumDraggables() == 1) { 126 message,_(gr_handle_descr[drag->singleSelectedDraggerSingleDraggableType()]), n_tot, n_obj); 130 ngettext("One handle merging %d stop (drag with <b>Shift</b> to separate) selected", 131 "One handle merging %d stops (drag with <b>Shift</b> to separate) selected",drag 179 GrDrag *drag = event_context->_grdrag; local 190 GrDrag *drag = event_context->_grdrag; local 223 sp_gradient_context_get_stop_intervals(GrDrag *drag, GSList **these_stops, GSList **next_stops) argument 309 GrDrag *drag = rc->_grdrag; local 383 GrDrag *drag = rc->_grdrag; local 474 GrDrag *drag = this->_grdrag; local [all...] |
H A D | calligraphic-tool.cpp | 190 //g_print("DDC: %g %g %g %g\n", ddc->mass, ddc->drag, ddc->angle, ddc->width); 251 /* Calculate mass and drag */ 253 double const drag = flerp(0.0, 0.5, this->drag * this->drag); local 335 /* Apply drag */ 336 this->vel *= 1.0 - drag; 355 // drag)
|
H A D | eraser-tool.cpp | 199 /* Calculate mass and drag */ 201 double const drag = flerp(0.0, 0.5, this->drag * this->drag); local 283 /* Apply drag */ 284 this->vel *= 1.0 - drag; 303 // drag)
|
/inkscape/src/ |
H A D | vanishing-point.cpp | 49 // absolute distance between gradient points for them to become a single dragger when the drag is created: 61 VPDrag *drag = (VPDrag *) data; local 62 drag->updateDraggers(); 63 drag->updateLines(); 64 drag->updateBoxReprs(); 70 VPDrag *drag = (VPDrag *) data; local 71 drag->updateLines (); 72 //drag->updateBoxReprs(); 73 drag->updateBoxHandles (); // FIXME: Only update the handles of boxes on this dragger (not on all) 74 drag 92 VPDrag *drag = dragger->parent; local 214 VPDrag *drag = dragger->parent; local [all...] |
H A D | gradient-chemistry.cpp | 46 #include "gradient-drag.h" 1221 // Handles are moved in gradient-drag.cpp 1592 GrDrag *drag = ev->get_drag(); local 1595 if (drag && !drag->selected.empty()) { 1596 drag->selected_reverse_vector(); 1597 } else { // If no drag or no dragger selected, act on selection (both fill and stroke gradients)
|
H A D | gradient-drag.cpp | 50 #include "gradient-drag.h" 77 // absolute distance between gradient points for them to become a single dragger when the drag is created: 114 GrDrag *drag = (GrDrag *) data; local 115 drag->updateDraggers (); 116 drag->updateLines (); 117 drag->updateLevels (); 122 GrDrag *drag = (GrDrag *) data; local 123 if (drag->local_change) { 124 drag->local_change = false; 126 drag 139 GrDrag *drag = (GrDrag *) data; local 739 GrDrag *drag = dragger->parent; local 917 GrDrag *drag = dragger->parent; local 1002 GrDrag *drag = dragger->parent; local [all...] |
/inkscape/src/ui/ |
H A D | clipboard.cpp | 56 #include "gradient-drag.h" 207 GrDrag *drag = desktop->event_context->get_drag(); local 208 if (drag->hasSelection()) { 209 guint32 col = drag->getColor();
|
/inkscape/src/widgets/ |
H A D | gradient-toolbar.cpp | 28 #include "gradient-drag.h" 51 void gr_apply_gradient(Inkscape::Selection *selection, GrDrag *drag, SPGradient *gr); 54 void gr_read_selection( Inkscape::Selection *selection, GrDrag *drag, SPGradient *&gr_selected, bool &gr_multi, SPGradientSpread &spr_selected, bool &spr_multi ); 95 Applies gradient vector gr to the gradients attached to the selected dragger of drag, or if none, 100 void gr_apply_gradient(Inkscape::Selection *selection, GrDrag *drag, SPGradient *gr) argument 109 if (drag && !drag->selected.empty()) { 110 GrDragger *dragger = *(drag->selected.begin()); 118 // If no drag or no dragger selected, act on selection 250 GrDrag *drag, 249 gr_read_selection( Inkscape::Selection *selection, GrDrag *drag, SPGradient *&gr_selected, bool &gr_multi, SPGradientSpread &spr_selected, bool &spr_multi ) argument 365 GrDrag *drag = NULL; local 594 GrDrag *drag = NULL; local [all...] |