Lines Matching refs:revent
341 bool PencilTool::_handleButtonRelease(GdkEventButton const &revent) {
344 if ( revent.button == 1 && this->is_drawing && !this->space_panning) {
348 Geom::Point p = desktop->w2d(Geom::Point(revent.x, revent.y));
351 SPDrawAnchor *anchor = spdc_test_inside(this, Geom::Point(revent.x, revent.y));
357 if (!(revent.state & GDK_CONTROL_MASK)) {
367 this->_endpointSnap(p, revent.state);
376 if (revent.state & GDK_MOD1_MASK) {
392 this->_endpointSnap(p_end, revent.state);
395 this->_addFreehandPoint(p_end, revent.state);
423 sp_canvas_item_ungrab(this->grab, revent.time);