Searched refs:ev (Results 1 - 11 of 11) sorted by relevance

/inkscape/share/extensions/
H A Dinterp_att_g.py73 ev = string.replace( self.options.end_val, '#', '' )
77 ev = re.split( '[\s,]+', ev )
81 self.R_end = int( ev[0] )
82 self.G_end = int( ev[1] )
83 self.B_end = int( ev[2] )
90 self.R_end = int( ev[0] + ev[0], 16 )
91 self.G_end = int( ev[1] + ev[
[all...]
H A Dlayout_nup.py109 return tuple(map(lambda ev: (self.unittouu(str(eval(str(ev)))+unit)/self.unittouu('1px')), x))
156 # num = tuple(map(lambda ev: eval(str(ev)), num))
/inkscape/src/livarot/
H A DShapeDraw.cpp77 double ev=(getPoint(enP).x[1]-iy)*ir+my; local
80 double endv=(9*ev+1*sv)/10;
83 fprintf(outFile," <svg:line x1=\"%f\" y1=\"%f\" x2=\"%f\" y2=\"%f\" stroke=\"black\" stroke-width=\"0.5\" />\n",sh,sv,eh,ev); // localizing ok
95 double ev=(getPoint(enP).x[1]-iy)*ir+my; local
96 fprintf(outFile," <svg:text x=\"%f\" y=\"%f\" font-family=\"Monaco\" font-size=\"5\" fill=\"blue\" >\n",(sh+eh)/2+2,(sv+ev)/2); // localizing ok
/inkscape/src/
H A Dcontext-fns.h37 Geom::Point setup_for_drag_start(SPDesktop *desktop, Inkscape::UI::Tools::ToolBase* ec, GdkEvent *ev);
H A Dcontext-fns.cpp217 Geom::Point Inkscape::setup_for_drag_start(SPDesktop *desktop, Inkscape::UI::Tools::ToolBase* ec, GdkEvent *ev) argument
219 ec->xp = static_cast<gint>(ev->button.x);
220 ec->yp = static_cast<gint>(ev->button.y);
223 Geom::Point const p(ev->button.x, ev->button.y);
224 ec->item_to_select = Inkscape::UI::Tools::sp_event_context_find_item(desktop, p, ev->button.state & GDK_MOD1_MASK, TRUE);
H A Dbox3d.cpp879 Box3D::Axis ev = Box3D::NONE; local
885 ev = (Box3D::Axis) (ev ^ Box3D::X);
887 ev = (Box3D::Axis) (ev ^ Box3D::Y);
889 ev = (Box3D::Axis) (ev ^ Box3D::Z);
891 return ev;
1055 Box3D::Axis ev = box3d_everted_directions(box); local
1057 if (ev
[all...]
H A Dgradient-chemistry.cpp1586 Inkscape::UI::Tools::ToolBase *ev = desktop->getEventContext(); local
1588 if (!ev) {
1592 GrDrag *drag = ev->get_drag();
/inkscape/src/widgets/
H A Dgradient-toolbar.cpp58 static void select_stop_by_drag( GtkWidget *combo_box, SPGradient *gradient, ToolBase *ev, GtkWidget *data);
59 static void select_drag_by_stop( GtkWidget *combo_box, SPGradient *gradient, ToolBase *ev);
364 ToolBase *ev = desktop->getEventContext(); local
366 if (ev) {
367 drag = ev->get_drag();
411 select_stop_by_drag(stops_combo, gr_selected, ev, widget);
571 ToolBase *ev = desktop->getEventContext(); local
572 Inkscape::UI::Tools::GradientTool *rc = SP_GRADIENT_CONTEXT(ev);
593 ToolBase *ev = desktop->getEventContext(); local
595 if (ev) {
627 select_drag_by_stop( GtkWidget *data, SPGradient *gradient, ToolBase *ev) argument
643 select_stop_by_drag(GtkWidget *combo_box, SPGradient *gradient, ToolBase *ev, GtkWidget *data) argument
925 ToolBase *ev = desktop->getEventContext(); local
967 ToolBase *ev = desktop->getEventContext(); local
[all...]
/inkscape/src/extension/
H A Deffect.cpp376 Effect::EffectVerb * ev = reinterpret_cast<Effect::EffectVerb *>(data); local
377 Effect * effect = ev->_effect;
381 if (ev->_showPrefs) {
/inkscape/src/display/
H A Dsp-canvas.cpp1237 GdkEvent *ev = gdk_event_copy(event); local
1239 switch (ev->type) {
1242 ev->crossing.x += _x0;
1243 ev->crossing.y += _y0;
1250 ev->motion.x += _x0;
1251 ev->motion.y += _y0;
1290 g_signal_emit (G_OBJECT (item), item_signals[ITEM_EVENT], 0, ev, &finished); local
1296 gdk_event_free(ev);
/inkscape/src/libgdl/
H A Dgdl-dock-item.c1100 #define EVENT_IN_GRIP_EVENT_WINDOW(ev,gr) \
1101 ((gr) != NULL && (ev)->window == GDL_DOCK_ITEM_GRIP (gr)->title_window)
1103 #define EVENT_IN_TABLABEL_EVENT_WINDOW(ev,tl) \
1104 ((tl) != NULL && (ev)->window == GDL_DOCK_TABLABEL (tl)->event_window)

Completed in 306 milliseconds