21 :
QgsPlotMouseEvent( canvas, event->type(), event->pos(), event->button(), event->buttons(), event->modifiers() )
26 : QMouseEvent( type, pos, button, buttons, modifiers )
28 , mMapPoint( mCanvas->toMapCoordinates( pos ) )
40 if ( mHasCachedSnapResult )
49 if ( mHasCachedSnapResult )
56 void QgsPlotMouseEvent::snapPoint()
58 mHasCachedSnapResult =
true;
62 mSnappedPoint = !mIsSnapped ? pos() : result;