Example #1
0
        public bool CtlMove(Vector2 vPosition)
        {
            Vector2 v     = Vector2.Transform(vPosition, this.Matrix.Calculate);
            int     xBits = Convert.ToInt32(v.X * this.kFactor);
            int     yBits = Convert.ToInt32(v.Y * this.kFactor);

            RTC5Wrap.n_goto_xy(this.Index + 1, xBits, yBits);
            return(true);
        }