Lines Matching defs:dtw
86 static gint sp_dt_ruler_event(GtkWidget *widget, GdkEvent *event, SPDesktopWidget *dtw, bool horiz)
95 SPDesktop *desktop = dtw->desktop;
96 GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(dtw->canvas));
120 Geom::Point const event_w(sp_canvas_window_to_world(dtw->canvas, event_win));
181 Geom::Point const event_w(sp_canvas_window_to_world(dtw->canvas, event_win));
217 Geom::Point const event_w(sp_canvas_window_to_world(dtw->canvas, event_win));
265 int sp_dt_hruler_event(GtkWidget *widget, GdkEvent *event, SPDesktopWidget *dtw)
268 sp_event_context_snap_delay_handler(dtw->desktop->event_context, (gpointer) widget, (gpointer) dtw, (GdkEventMotion *)event, Inkscape::UI::Tools::DelayedSnapEvent::GUIDE_HRULER);
270 return sp_dt_ruler_event(widget, event, dtw, true);
273 int sp_dt_vruler_event(GtkWidget *widget, GdkEvent *event, SPDesktopWidget *dtw)
276 sp_event_context_snap_delay_handler(dtw->desktop->event_context, (gpointer) widget, (gpointer) dtw, (GdkEventMotion *)event, Inkscape::UI::Tools::DelayedSnapEvent::GUIDE_VRULER);
278 return sp_dt_ruler_event(widget, event, dtw, false);