Exemplo n.º 1
0
        private void SetPath(GraphicsPath source, int start, int count, GraphicsPath target)
        {
            PointF [] points     = new PointF [count];
            byte []   types      = new byte [count];
            PointF [] pathPoints = _path.PathPoints;
            byte []   pathTypes  = _path.PathTypes;

            for (int i = 0; i < count; i++)
            {
                points [i] = pathPoints [start + i];
                types [i]  = pathTypes [start + i];
            }

            target.SetPath(points, types);
        }