예제 #1
0
파일: rtc6.cs 프로젝트: li1794/rtclib
        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);

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