private static Spiral LoadSpiralPattern(XmlNode lineNode)
        {
            var pattern = new Spiral { GuidancePatternType = GuidancePatternTypeEnum.Spiral };

            var pointNodes = lineNode.SelectNodes("PNT");
            if (pointNodes.Count == 0)
                return null;

            pattern.Shape = ShapeLoader.LoadLine(pointNodes);

            return pattern;
        }
示例#2
0
        private void ProcessSpiral(Spiral spiral)
        {
            var delta = _drawingUtil.GetDelta();

            ProcessLineString(spiral.Shape, delta);
        }
 private static void WriteSpiral(XmlWriter writer, Spiral spiral)
 {
     ShapeWriter.WriteLine(writer, spiral.Shape, "5");
 }