private void BuildPlusShape(double square_size, Dictionary <string, object> args = null) { Svg.BeginGroup(args) .Rect(square_size, 0, square_size, square_size * 3) .Rect(0, square_size, square_size * 3, square_size) .EndGroup(); }
private void BuildChevronShape(double width, double height, Dictionary <string, object> args = null) { var e = height * 0.66; Svg.BeginGroup(args) .PolyLine(string.Format("0,0,{0},{1},{2},{3},0,{4},0,0", width / 2, height - e, width / 2, height, e)) .PolyLine(string.Format("{0},{1},{2},0,{3},{4},{5},{6},{7},{8}", width / 2, height - e, width, width, e, width / 2, height, width / 2, height - e)) .EndGroup(); }