Esempio n. 1
0
        public void Scroll(MouseZoomArgs args)
        {
            var result = _graphicalComponent.TryScale(new SKPoint(args.X, args.Y), args.Delta);

            if (result != ScaleTransformationResult.ViewUnmodified)
            {
                /* Trigger redraw as different content subset is visible by modification */
                InvalidateVisual();
            }
        }
Esempio n. 2
0
 public void ScrollDown(MouseZoomArgs args)
 {
     // Do nothing.
 }