Skip to content

Commit 191e10c

Browse files
committed
2.1.2 - Reformat some source files - push package to github nuget registry conditionally
1 parent e6fd3e9 commit 191e10c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+7147
-7136
lines changed

SvgNet/Elements/SvgElement.cs

Lines changed: 210 additions & 210 deletions
Large diffs are not rendered by default.
Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
/*
2-
Copyright © 2003 RiskCare Ltd. All rights reserved.
3-
Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved.
4-
Copyright © 2015-2019 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors
5-
6-
Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICENSE for more
7-
*/
8-
9-
using SvgNet.SvgTypes;
10-
11-
namespace SvgNet.SvgElements {
12-
/// <summary>
13-
/// Represents an <c>ellipse</c> element.
14-
/// </summary>
15-
public class SvgEllipseElement : SvgStyledTransformedElement {
16-
public SvgEllipseElement() {
17-
}
18-
19-
public SvgEllipseElement(SvgLength cx, SvgLength cy, SvgLength rx, SvgLength ry) {
20-
CX = cx;
21-
CY = cy;
22-
RX = rx;
23-
RY = ry;
24-
}
25-
26-
public SvgLength CX {
27-
get => (SvgLength)_atts["cx"];
28-
set => _atts["cx"] = value;
29-
}
30-
31-
public SvgLength CY {
32-
get => (SvgLength)_atts["cy"];
33-
set => _atts["cy"] = value;
34-
}
35-
36-
public override string Name => "ellipse";
37-
38-
public SvgLength RX {
39-
get => (SvgLength)_atts["rx"];
40-
set => _atts["rx"] = value;
41-
}
42-
43-
public SvgLength RY {
44-
get => (SvgLength)_atts["ry"];
45-
set => _atts["ry"] = value;
46-
}
47-
}
48-
}
1+
/*
2+
Copyright © 2003 RiskCare Ltd. All rights reserved.
3+
Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved.
4+
Copyright © 2015-2019 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors
5+
6+
Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICENSE for more
7+
*/
8+
9+
using SvgNet.SvgTypes;
10+
11+
namespace SvgNet.SvgElements {
12+
/// <summary>
13+
/// Represents an <c>ellipse</c> element.
14+
/// </summary>
15+
public class SvgEllipseElement : SvgStyledTransformedElement {
16+
public SvgEllipseElement() {
17+
}
18+
19+
public SvgEllipseElement(SvgLength cx, SvgLength cy, SvgLength rx, SvgLength ry) {
20+
CX = cx;
21+
CY = cy;
22+
RX = rx;
23+
RY = ry;
24+
}
25+
26+
public SvgLength CX {
27+
get => (SvgLength)_atts["cx"];
28+
set => _atts["cx"] = value;
29+
}
30+
31+
public SvgLength CY {
32+
get => (SvgLength)_atts["cy"];
33+
set => _atts["cy"] = value;
34+
}
35+
36+
public override string Name => "ellipse";
37+
38+
public SvgLength RX {
39+
get => (SvgLength)_atts["rx"];
40+
set => _atts["rx"] = value;
41+
}
42+
43+
public SvgLength RY {
44+
get => (SvgLength)_atts["ry"];
45+
set => _atts["ry"] = value;
46+
}
47+
}
48+
}
Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
1-
/*
2-
Copyright © 2003 RiskCare Ltd. All rights reserved.
3-
Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved.
4-
Copyright © 2015-2019 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors
5-
6-
Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICENSE for more
7-
*/
8-
9-
using SvgNet.SvgTypes;
10-
11-
namespace SvgNet.SvgElements {
12-
public class SvgFilterElement : SvgElement {
13-
public SvgFilterElement() {
14-
}
15-
16-
public SvgFilterElement(SvgLength x, SvgLength y, SvgLength w, SvgLength h) {
17-
X = x;
18-
Y = y;
19-
Width = w;
20-
Height = h;
21-
}
22-
23-
public string FilterRes {
24-
get => (string)_atts["filterRes"];
25-
set => _atts["filterRes"] = value;
26-
}
27-
28-
public string FilterUnits {
29-
get => (string)_atts["filterUnits"];
30-
set => _atts["filterUnits"] = value;
31-
}
32-
33-
public SvgLength Height {
34-
get => (SvgLength)_atts["height"];
35-
set => _atts["height"] = value;
36-
}
37-
38-
public override string Name => "filter";
39-
40-
public string PrimitiveUnits {
41-
get => (string)_atts["primitiveUnits"];
42-
set => _atts["primitiveUnits"] = value;
43-
}
44-
45-
public SvgLength Width {
46-
get => (SvgLength)_atts["width"];
47-
set => _atts["width"] = value;
48-
}
49-
50-
public SvgLength X {
51-
get => (SvgLength)_atts["x"];
52-
set => _atts["x"] = value;
53-
}
54-
55-
public SvgLength Y {
56-
get => (SvgLength)_atts["y"];
57-
set => _atts["y"] = value;
58-
}
59-
}
60-
}
1+
/*
2+
Copyright © 2003 RiskCare Ltd. All rights reserved.
3+
Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved.
4+
Copyright © 2015-2019 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors
5+
6+
Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICENSE for more
7+
*/
8+
9+
using SvgNet.SvgTypes;
10+
11+
namespace SvgNet.SvgElements {
12+
public class SvgFilterElement : SvgElement {
13+
public SvgFilterElement() {
14+
}
15+
16+
public SvgFilterElement(SvgLength x, SvgLength y, SvgLength w, SvgLength h) {
17+
X = x;
18+
Y = y;
19+
Width = w;
20+
Height = h;
21+
}
22+
23+
public string FilterRes {
24+
get => (string)_atts["filterRes"];
25+
set => _atts["filterRes"] = value;
26+
}
27+
28+
public string FilterUnits {
29+
get => (string)_atts["filterUnits"];
30+
set => _atts["filterUnits"] = value;
31+
}
32+
33+
public SvgLength Height {
34+
get => (SvgLength)_atts["height"];
35+
set => _atts["height"] = value;
36+
}
37+
38+
public override string Name => "filter";
39+
40+
public string PrimitiveUnits {
41+
get => (string)_atts["primitiveUnits"];
42+
set => _atts["primitiveUnits"] = value;
43+
}
44+
45+
public SvgLength Width {
46+
get => (SvgLength)_atts["width"];
47+
set => _atts["width"] = value;
48+
}
49+
50+
public SvgLength X {
51+
get => (SvgLength)_atts["x"];
52+
set => _atts["x"] = value;
53+
}
54+
55+
public SvgLength Y {
56+
get => (SvgLength)_atts["y"];
57+
set => _atts["y"] = value;
58+
}
59+
}
60+
}

0 commit comments

Comments
 (0)