Skip to content
Snippets Groups Projects
Commit 7c94e344 authored by Jelte_vdakker's avatar Jelte_vdakker
Browse files

pass it back atya

parent 4e30eec0
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -39,12 +39,13 @@ namespace ShapeDrawing
cords += points[i].ToString() + points[i + 1].ToString();
}
cords += points[1].ToString() + points[2].ToString();
streamWriter.WriteLine(" polyline points = \" " + cords + "\"");
streamWriter.WriteLine(" <polyline points = \" " + cords + "\"");
streamWriter.WriteLine(" style=\"fill: none; stroke: black; stroke - width:1\" />");
}
public void Circle(int x, int y, int d, int d1)
{
streamWriter.WriteLine(" <circle cx="+ x +" cy ="+ y +" r =" + d + " stroke-width=\"1\" fill=\"none\" stroke=\"black\" />");
}
}
}
......@@ -73,7 +73,7 @@ public class ShapeDrawingForm : Form
// commands to draw the shapes
using(StreamWriter writer = new StreamWriter(stream))
{
GenerateSVG generateSVG = new GenerateSVG() { stringWriter = writer };
GenerateSVG generateSVG = new GenerateSVG() { streamWriter = writer };
// Write strings to the file here using:
// writer.WriteLine("Hello World!");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment