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; }
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"); }