Esempio n. 1
0
        public GraphicsPath GetDrawPath()
        {
            GraphicsPath p;

            if (null != animation) //使用了动画
            {
                bool stillRun = false;
                transform = animation.GetTransformation(ref stillRun);//获得变换

                p = new GraphicsPath(path.PathPoints, path.PathTypes);
                p.Transform(transform);
            }
            else
            {
                p = path;
            }

            return(p);
        }