Beispiel #1
0
 public static void SaveFigures(IEnumerable<IFigure> figures, XmlWriter writer)
 {
     DrawingSerializer serializer = new DrawingSerializer();
     serializer.WriteFigures(figures, writer);
 }
Beispiel #2
0
 public static void SaveDrawing(Drawing drawing, XmlWriter writer)
 {
     DrawingSerializer serializer = new DrawingSerializer();
     serializer.Write(drawing, writer);
 }
Beispiel #3
0
 public string SaveAsText()
 {
     return(DrawingSerializer.SaveDrawing(this));
 }
Beispiel #4
0
 public void Save(string path)
 {
     DrawingSerializer.Save(this, path);
 }
        public static void SaveFigures(IEnumerable <IFigure> figures, XmlWriter writer)
        {
            DrawingSerializer serializer = new DrawingSerializer();

            serializer.WriteFigures(figures, writer);
        }
        public static void SaveDrawing(Drawing drawing, XmlWriter writer)
        {
            DrawingSerializer serializer = new DrawingSerializer();

            serializer.Write(drawing, writer);
        }