Lines Matching refs:mevent
223 bool PencilTool::_handleMotionNotify(GdkEventMotion const &mevent) {
224 if ((mevent.state & GDK_CONTROL_MASK) && (mevent.state & GDK_BUTTON1_MASK)) {
233 if (this->space_panning || (mevent.state & GDK_BUTTON2_MASK) || (mevent.state & GDK_BUTTON3_MASK)) {
238 if ( ( mevent.state & GDK_BUTTON1_MASK ) && !this->grab && this->is_drawing) {
244 NULL, mevent.time);
248 Geom::Point p = desktop->w2d(Geom::Point(mevent.x, mevent.y));
251 SPDrawAnchor *anchor = spdc_test_inside(this, Geom::Point(mevent.x, mevent.y));
256 if ( Geom::LInfty( Geom::Point(mevent.x,mevent.y) - pencil_drag_origin_w ) < tolerance ) {
273 this->_endpointSnap(ptnr, mevent.state);
281 if ( (mevent.state & GDK_BUTTON1_MASK) && this->is_drawing ) {
303 this->_addFreehandPoint(p, mevent.state);