Searched refs:bevent (Results 1 - 6 of 6) sorted by relevance

/inkscape/src/ui/tools/
H A Dpencil-tool.h57 bool _handleButtonPress(GdkEventButton const &bevent);
H A Dpen-tool.h86 bool _handleButtonPress(GdkEventButton const &bevent);
89 bool _handle2ButtonPress(GdkEventButton const &bevent);
H A Dpencil-tool.cpp144 bool PencilTool::_handleButtonPress(GdkEventButton const &bevent) { argument
147 if ( bevent.button == 1 && !this->space_panning) {
160 NULL, bevent.time);
163 Geom::Point const button_w(bevent.x, bevent.y);
171 pencil_drag_origin_w = Geom::Point(bevent.x,bevent.y);
183 if (bevent.state & GDK_CONTROL_MASK) {
185 if (!(bevent.state & GDK_SHIFT_MASK)) {
188 spdc_create_single_dot(this, p, "/tools/freehand/pencil", bevent
[all...]
H A Dpen-tool.cpp369 bool PenTool::_handleButtonPress(GdkEventButton const &bevent) { argument
375 Geom::Point const event_w(bevent.x, bevent.y);
381 if(bevent.button != 3 && (this->spiro || this->bspline) && this->npoints > 0 && this->p[0] == this->p[3]){
384 _finishSegment(event_dt, bevent.state);
392 if (bevent.button == 1 && !this->space_panning
406 NULL, bevent.time);
437 if ((bevent.state & GDK_CONTROL_MASK) && (this->polylines_only || this->polylines_paraxial)) {
439 if (!(bevent.state & GDK_SHIFT_MASK)) {
445 spdc_create_single_dot(this, p, "/tools/freehand/pen", bevent
861 _handle2ButtonPress(GdkEventButton const &bevent) argument
[all...]
H A Dconnector-tool.h127 bool _handleButtonPress(GdkEventButton const &bevent);
H A Dconnector-tool.cpp459 bool ConnectorTool::_handleButtonPress(GdkEventButton const &bevent) { argument
460 Geom::Point const event_w(bevent.x, bevent.y);
466 if ( bevent.button == 1 && !this->space_panning ) {
471 Geom::Point const event_w(bevent.x, bevent.y);
473 this->xp = bevent.x;
474 this->yp = bevent.y;
539 } else if (bevent.button == 3) {

Completed in 23 milliseconds