remove unused code and add writing support for more graphics operations

This commit is contained in:
Eliot Jones
2018-12-25 10:51:36 +00:00
parent 9a1879829d
commit 713d600ee7
12 changed files with 10 additions and 251 deletions

View File

@@ -11,7 +11,7 @@
public string Operator => Symbol;
public LineCapStyle Cap { get; set; }
public LineCapStyle Cap { get; }
public SetLineCap(int cap) : this((LineCapStyle)cap) { }
public SetLineCap(LineCapStyle cap)
@@ -31,7 +31,10 @@
public void Write(Stream stream)
{
throw new NotImplementedException();
stream.WriteDecimal((int)Cap);
stream.WriteWhiteSpace();
stream.WriteText(Symbol);
stream.WriteNewLine();
}
public override string ToString()

View File

@@ -11,7 +11,7 @@
public string Operator => Symbol;
public LineJoinStyle Join { get; set; }
public LineJoinStyle Join { get; }
public SetLineJoin(int join) : this((LineJoinStyle)join) { }
public SetLineJoin(LineJoinStyle join)
@@ -31,7 +31,10 @@
public void Write(Stream stream)
{
throw new NotImplementedException();
stream.WriteDecimal((int)Join);
stream.WriteWhiteSpace();
stream.WriteText(Symbol);
stream.WriteNewLine();
}
public override string ToString()