Ejemplo n.º 1
0
        protected override void OnMouseMove(MouseEventArgs e)
        {
            base.OnMouseMove(e);

            if (lastX == e.X && lastY == e.Y)
            {
                return;
            }
            lastX = e.X;
            lastY = e.Y;

            renderer.OnMouseEvent("mousemove", e);
        }
Ejemplo n.º 2
0
        protected override void OnMouseMove(MouseEventArgs e)
        {
            base.OnMouseMove(e);

            if (_lastPosX == e.X && _lastPosY == e.Y)
            {
                return;
            }

            _lastPosX = e.X;
            _lastPosY = e.Y;

            if (_svgRenderer != null)
            {
                _svgRenderer.OnMouseEvent("mousemove", e);
            }
        }