Exemplo n.º 1
0
            private static MDesign_Path MDesign_Path(IPath path)
            {
                var result = new MDesign_Path()
                {
                    Points = MDesign_Points(path)
                };

                return(result);
            }
Exemplo n.º 2
0
            private static XDesign_Path XDesign_Path(MDesign_Path mPath)
            {
                var result = new XDesign_Path()
                {
                    points = XDesign_Points(mPath)
                };

                return(result);
            }
Exemplo n.º 3
0
            private static XDesign_Point[] XDesign_Points(MDesign_Path mPath)
            {
                var result = new XDesign_Point[mPath.Points.Count];

                for (var idx = 0; idx < mPath.Points.Count; ++idx)
                {
                    var pointWebData = new XDesign_Point();
                    result[idx] = pointWebData;

                    pointWebData.x = mPath.Points[idx].X;
                    pointWebData.y = mPath.Points[idx].Y;
                }

                return(result);
            }