Exemplo n.º 1
0
        void ToolMove(JToken inputMessage)
        {
            float pressure = inputMessage.Value <float>("pressure");
            int   x        = inputMessage.Value <int>("x");
            int   y        = inputMessage.Value <int>("y");

            m_currentTool.Move(x, y, pressure);
            m_currentLayer.History.StoreUndoData(inputMessage);
        }