Skip to content

Commit e84719c

Browse files
committed
Converter Application 1.2.0.0 Release
Releasing version 1.2 of the applications and libraries. Updating version numbers. Source code improvements.
1 parent 7a507b3 commit e84719c

File tree

52 files changed

+335
-238
lines changed

Some content is hidden

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

52 files changed

+335
-238
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Applications/ConvertersWpf/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@
5555
// You can specify all the values or you can default the Build and Revision Numbers
5656
// by using the '*' as shown below:
5757
// [assembly: AssemblyVersion("1.0.*")]
58-
[assembly: AssemblyVersion("1.1.0.0")]
59-
[assembly: AssemblyFileVersion("1.1.0.0")]
58+
[assembly: AssemblyVersion("1.2.0.0")]
59+
[assembly: AssemblyFileVersion("1.2.0.0")]

Applications/SquiggleWpf/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("1.0.0.0")]
55-
[assembly: AssemblyFileVersion("1.0.0.0")]
54+
[assembly: AssemblyVersion("1.2.0.0")]
55+
[assembly: AssemblyFileVersion("1.2.0.0")]
0 Bytes
Binary file not shown.

Output/SharpVectors.Core.dll

0 Bytes
Binary file not shown.

Output/SharpVectors.Css.dll

0 Bytes
Binary file not shown.

Output/SharpVectors.Dom.dll

0 Bytes
Binary file not shown.

Output/SharpVectors.Model.dll

0 Bytes
Binary file not shown.

Output/SharpVectors.Rendering.Gdi.dll

0 Bytes
Binary file not shown.

Output/SharpVectors.Rendering.Wpf.dll

512 Bytes
Binary file not shown.

Output/SharpVectors.Runtime.Wpf.dll

1 KB
Binary file not shown.

Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ See the [Documentation](Docs/Documentation.md) section for more information on t
2727
The SharpVectors is a .NET 4.0 or up library and applications. The library can be used in WPF and Windows Forms applications.
2828

2929
### For the Library
30-
Install the latest released version from NuGet, the [Version 1.1.0.0](https://www.nuget.org/packages/SharpVectors.Reloaded/).
30+
Install the latest released version from NuGet, the [Version 1.2.0.0](https://www.nuget.org/packages/SharpVectors.Reloaded/).
3131

3232
### For the Applications
33-
Download the latest released version from GitHub Releases Page, the [Version 1.1.0.0](https://github.com/ElinamLLC/SharpVectors/releases).
33+
Download the latest released version from GitHub Releases Page, the [Version 1.2.0.0](https://github.com/ElinamLLC/SharpVectors/releases).
3434

3535
## Documentation
3636
An introduction and a tutorial with sample are available. See the [Documentation](Docs/Documentation.md) section for more information.

Samples/WpfShapeSvgTestBox/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("1.0.0.0")]
55-
[assembly: AssemblyFileVersion("1.0.0.0")]
54+
[assembly: AssemblyVersion("1.2.0.0")]
55+
[assembly: AssemblyFileVersion("1.2.0.0")]

Samples/WpfSvgTestBox/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("1.0.0.0")]
55-
[assembly: AssemblyFileVersion("1.0.0.0")]
54+
[assembly: AssemblyVersion("1.2.0.0")]
55+
[assembly: AssemblyFileVersion("1.2.0.0")]

Samples/WpfTestSvgSample/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("1.0.0.0")]
55-
[assembly: AssemblyFileVersion("1.0.0.0")]
54+
[assembly: AssemblyVersion("1.2.0.0")]
55+
[assembly: AssemblyFileVersion("1.2.0.0")]

Source/SharpVectorConvertersWpf/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
// You can specify all the values or you can default the Build and Revision Numbers
5656
// by using the '*' as shown below:
5757
// [assembly: AssemblyVersion("1.0.*")]
58-
[assembly: AssemblyVersion("1.1.0.0")]
59-
[assembly: AssemblyFileVersion("1.1.0.0")]
60-
[assembly: AssemblyInformationalVersion("1.1.0.0")]
58+
[assembly: AssemblyVersion("1.2.0.0")]
59+
[assembly: AssemblyFileVersion("1.2.0.0")]
60+
[assembly: AssemblyInformationalVersion("1.2.0.0")]
6161

6262
[assembly: XmlnsPrefix("http://sharpvectors.codeplex.com/svgc/", "svgc")]
6363
[assembly: XmlnsDefinition("http://sharpvectors.codeplex.com/svgc/", "SharpVectors.Converters")]

Source/SharpVectorConvertersWpf/SharpVectors.Converters.Wpf.csproj

+10
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@
3636
<WarningLevel>4</WarningLevel>
3737
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
3838
</PropertyGroup>
39+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Documentation|AnyCPU'">
40+
<OutputPath>..\..\Output\</OutputPath>
41+
<DefineConstants>TRACE</DefineConstants>
42+
<Optimize>true</Optimize>
43+
<DebugType>pdbonly</DebugType>
44+
<PlatformTarget>AnyCPU</PlatformTarget>
45+
<ErrorReport>prompt</ErrorReport>
46+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
47+
<DocumentationFile>..\..\Output\SharpVectors.Converters.Wpf.xml</DocumentationFile>
48+
</PropertyGroup>
3949
<ItemGroup>
4050
<Reference Include="System" />
4151
<Reference Include="System.Core" />

Source/SharpVectorCore/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
//
3030
// You can specify all the values or you can default the Revision and Build Numbers
3131
// by using the '*' as shown below:
32-
[assembly: AssemblyVersion("1.1.0.0")]
33-
[assembly: AssemblyFileVersion("1.1.0.0")]
34-
[assembly: AssemblyInformationalVersion("1.1.0.0")]
32+
[assembly: AssemblyVersion("1.2.0.0")]
33+
[assembly: AssemblyFileVersion("1.2.0.0")]
34+
[assembly: AssemblyInformationalVersion("1.2.0.0")]
3535

3636
//
3737
// In order to sign your assembly you must specify a key to use. Refer to the
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
namespace SharpVectors.Dom.Svg
22
{
3-
/// <summary>
4-
/// </summary>
5-
public interface ISvgFEGaussianBlurElement : ISvgElement, ISvgFilterPrimitiveStandardAttributes
6-
{
7-
ISvgAnimatedString In1{get;}
8-
ISvgAnimatedNumber StdDeviationX{get;}
9-
ISvgAnimatedNumber StdDeviationY{get;}
10-
void SetStdDeviation(float stdDeviationX, float stdDeviationY);
11-
}
3+
/// <summary>
4+
/// </summary>
5+
public interface ISvgFEGaussianBlurElement : ISvgElement, ISvgFilterPrimitiveStandardAttributes
6+
{
7+
ISvgAnimatedString In1 { get; }
8+
ISvgAnimatedNumber StdDeviationX { get; }
9+
ISvgAnimatedNumber StdDeviationY { get; }
10+
void SetStdDeviation(float stdDeviationX, float stdDeviationY);
11+
}
1212
}
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
namespace SharpVectors.Dom.Svg
22
{
3-
/// <summary>
4-
/// </summary>
5-
public interface ISvgFilterElement : ISvgElement, ISvgUriReference, ISvgLangSpace,
6-
ISvgExternalResourcesRequired, ISvgStylable
7-
{
8-
ISvgAnimatedEnumeration FilterUnits{get;}
9-
ISvgAnimatedEnumeration PrimitiveUnits{get;}
10-
ISvgAnimatedLength X{get;}
11-
ISvgAnimatedLength Y {get;}
12-
ISvgAnimatedLength Width {get;}
13-
ISvgAnimatedLength Height {get;}
14-
ISvgAnimatedInteger FilterResX{get;}
15-
ISvgAnimatedInteger FilterResY{get;}
16-
void SetFilterRes(ulong filterResX,ulong filterResY);
17-
}
3+
/// <summary>
4+
/// </summary>
5+
public interface ISvgFilterElement : ISvgElement, ISvgUriReference, ISvgLangSpace,
6+
ISvgExternalResourcesRequired, ISvgStylable
7+
{
8+
ISvgAnimatedEnumeration FilterUnits { get; }
9+
ISvgAnimatedEnumeration PrimitiveUnits { get; }
10+
ISvgAnimatedLength X { get; }
11+
ISvgAnimatedLength Y { get; }
12+
ISvgAnimatedLength Width { get; }
13+
ISvgAnimatedLength Height { get; }
14+
ISvgAnimatedInteger FilterResX { get; }
15+
ISvgAnimatedInteger FilterResY { get; }
16+
void SetFilterRes(ulong filterResX, ulong filterResY);
17+
}
1818
}

Source/SharpVectorCore/Svg/Painting/SvgMarker.cs

+1-46
Original file line numberDiff line numberDiff line change
@@ -70,53 +70,8 @@ public bool IsCurve
7070
{
7171
return false;
7272
}
73-
74-
switch (_segment.PathSegType)
75-
{
76-
case SvgPathSegType.ArcAbs:
77-
return true;
78-
case SvgPathSegType.ArcRel:
79-
return true;
80-
case SvgPathSegType.ClosePath:
81-
return true;
82-
case SvgPathSegType.CurveToCubicAbs:
83-
return true;
84-
case SvgPathSegType.CurveToCubicRel:
85-
return true;
86-
case SvgPathSegType.CurveToCubicSmoothAbs:
87-
return true;
88-
case SvgPathSegType.CurveToCubicSmoothRel:
89-
return true;
90-
case SvgPathSegType.CurveToQuadraticAbs:
91-
return true;
92-
case SvgPathSegType.CurveToQuadraticRel:
93-
return true;
94-
case SvgPathSegType.CurveToQuadraticSmoothAbs:
95-
return true;
96-
case SvgPathSegType.CurveToQuadraticSmoothRel:
97-
return true;
98-
99-
case SvgPathSegType.LineToAbs:
100-
return false;
101-
case SvgPathSegType.LineToHorizontalAbs:
102-
return false;
103-
case SvgPathSegType.LineToHorizontalRel:
104-
return false;
105-
case SvgPathSegType.LineToRel:
106-
return false;
107-
case SvgPathSegType.LineToVerticalAbs:
108-
return false;
109-
case SvgPathSegType.LineToVerticalRel:
110-
return false;
111-
case SvgPathSegType.MoveToAbs:
112-
return false;
113-
case SvgPathSegType.MoveToRel:
114-
return false;
115-
default:
116-
return false;
117-
}
73+
return _segment.IsCurve;
11874
}
11975
}
120-
12176
}
12277
}

Source/SharpVectorCore/Svg/Paths/ISvgPathElement.cs

+20-48
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ namespace SharpVectors.Dom.Svg
55
/// <summary>
66
/// The SvgPathElement interface corresponds to the 'path' element.
77
/// </summary>
8-
public interface ISvgPathElement : ISvgElement, ISvgTests, ISvgLangSpace,
9-
ISvgExternalResourcesRequired, ISvgStylable, ISvgTransformable, ISvgAnimatedPathData, IEventTarget, IElementVisitorTarget
8+
public interface ISvgPathElement : ISvgElement, ISvgTests, ISvgLangSpace, ISvgExternalResourcesRequired,
9+
ISvgStylable, ISvgTransformable, ISvgAnimatedPathData, IEventTarget, IElementVisitorTarget
1010
{
1111
ISvgAnimatedNumber PathLength { get; }
1212
double GetTotalLength();
@@ -18,42 +18,20 @@ public interface ISvgPathElement : ISvgElement, ISvgTests, ISvgLangSpace,
1818
ISvgPathSegMovetoRel CreateSvgPathSegMovetoRel(double x, double y);
1919
ISvgPathSegLinetoAbs CreateSvgPathSegLinetoAbs(double x, double y);
2020
ISvgPathSegLinetoRel CreateSvgPathSegLinetoRel(double x, double y);
21-
ISvgPathSegCurvetoCubicAbs CreateSvgPathSegCurvetoCubicAbs(double x,
22-
double y,
23-
double x1,
24-
double y1,
25-
double x2,
26-
double y2);
27-
ISvgPathSegCurvetoCubicRel CreateSvgPathSegCurvetoCubicRel(double x,
28-
double y,
29-
double x1,
30-
double y1,
31-
double x2,
32-
double y2);
33-
ISvgPathSegCurvetoQuadraticAbs CreateSvgPathSegCurvetoQuadraticAbs(double x,
34-
double y,
35-
double x1,
36-
double y1);
37-
ISvgPathSegCurvetoQuadraticRel CreateSvgPathSegCurvetoQuadraticRel(double x,
38-
double y,
39-
double x1,
40-
double y1);
21+
ISvgPathSegCurvetoCubicAbs CreateSvgPathSegCurvetoCubicAbs(double x, double y,
22+
double x1, double y1, double x2, double y2);
23+
ISvgPathSegCurvetoCubicRel CreateSvgPathSegCurvetoCubicRel(double x, double y,
24+
double x1, double y1, double x2, double y2);
25+
ISvgPathSegCurvetoQuadraticAbs CreateSvgPathSegCurvetoQuadraticAbs(double x, double y,
26+
double x1, double y1);
27+
ISvgPathSegCurvetoQuadraticRel CreateSvgPathSegCurvetoQuadraticRel(double x, double y,
28+
double x1, double y1);
4129

42-
ISvgPathSegArcAbs CreateSvgPathSegArcAbs(double x,
43-
double y,
44-
double r1,
45-
double r2,
46-
double angle,
47-
bool largeArcFlag,
48-
bool sweepFlag);
30+
ISvgPathSegArcAbs CreateSvgPathSegArcAbs(double x, double y,
31+
double r1, double r2, double angle, bool largeArcFlag, bool sweepFlag);
4932

50-
ISvgPathSegArcRel CreateSvgPathSegArcRel(double x,
51-
double y,
52-
double r1,
53-
double r2,
54-
double angle,
55-
bool largeArcFlag,
56-
bool sweepFlag);
33+
ISvgPathSegArcRel CreateSvgPathSegArcRel(double x, double y,
34+
double r1, double r2, double angle, bool largeArcFlag, bool sweepFlag);
5735

5836
ISvgPathSegLinetoHorizontalAbs CreateSvgPathSegLinetoHorizontalAbs(double x);
5937

@@ -63,20 +41,14 @@ ISvgPathSegArcRel CreateSvgPathSegArcRel(double x,
6341

6442
ISvgPathSegLinetoVerticalRel CreateSvgPathSegLinetoVerticalRel(double y);
6543

66-
ISvgPathSegCurvetoCubicSmoothAbs CreateSvgPathSegCurvetoCubicSmoothAbs(double x,
67-
double y,
68-
double x2,
69-
double y2);
44+
ISvgPathSegCurvetoCubicSmoothAbs CreateSvgPathSegCurvetoCubicSmoothAbs(double x, double y,
45+
double x2, double y2);
7046

71-
ISvgPathSegCurvetoCubicSmoothRel CreateSvgPathSegCurvetoCubicSmoothRel(double x,
72-
double y,
73-
double x2,
74-
double y2);
47+
ISvgPathSegCurvetoCubicSmoothRel CreateSvgPathSegCurvetoCubicSmoothRel(double x, double y,
48+
double x2, double y2);
7549

76-
ISvgPathSegCurvetoQuadraticSmoothAbs CreateSvgPathSegCurvetoQuadraticSmoothAbs(double x,
77-
double y);
50+
ISvgPathSegCurvetoQuadraticSmoothAbs CreateSvgPathSegCurvetoQuadraticSmoothAbs(double x, double y);
7851

79-
ISvgPathSegCurvetoQuadraticSmoothRel CreateSvgPathSegCurvetoQuadraticSmoothRel(double x,
80-
double y);
52+
ISvgPathSegCurvetoQuadraticSmoothRel CreateSvgPathSegCurvetoQuadraticSmoothRel(double x, double y);
8153
}
8254
}

Source/SharpVectorCore/Svg/Paths/ISvgPathSeg.cs

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public interface ISvgPathSeg
1515
double EndAngle { get; }
1616
string PathText { get; }
1717

18+
bool IsCurve { get; }
19+
1820
ISvgPathSeg PreviousSeg { get; }
1921
ISvgPathSeg NextSeg { get; }
2022

Source/SharpVectorCss/Properties/AssemblyInfo.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
//
3131
// You can specify all the values or you can default the Revision and Build Numbers
3232
// by using the '*' as shown below:
33-
[assembly: AssemblyVersion("1.1.0.0")]
34-
[assembly: AssemblyFileVersion("1.1.0.0")]
35-
[assembly: AssemblyInformationalVersion("1.1.0.0")]
33+
[assembly: AssemblyVersion("1.2.0.0")]
34+
[assembly: AssemblyFileVersion("1.2.0.0")]
35+
[assembly: AssemblyInformationalVersion("1.2.0.0")]
3636

3737
//
3838
// In order to sign your assembly you must specify a key to use. Refer to the
@@ -61,5 +61,4 @@
6161
//
6262
[assembly: Guid("4D42DFAF-2BA4-42f4-9590-4FFA2A29CED2")]
6363
[assembly: AssemblyDelaySign(false)]
64-
//[assembly: AssemblyKeyFile("..\\..\\..\\SVGSharp.key")]
6564
[assembly: AssemblyKeyName("")]

Source/SharpVectorDom/Properties/AssemblyInfo.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
//
3131
// You can specify all the values or you can default the Revision and Build Numbers
3232
// by using the '*' as shown below:
33-
[assembly: AssemblyVersion("1.1.0.0")]
34-
[assembly: AssemblyFileVersion("1.1.0.0")]
35-
[assembly: AssemblyInformationalVersion("1.1.0.0")]
33+
[assembly: AssemblyVersion("1.2.0.0")]
34+
[assembly: AssemblyFileVersion("1.2.0.0")]
35+
[assembly: AssemblyInformationalVersion("1.2.0.0")]
3636

3737
//
3838
// In order to sign your assembly you must specify a key to use. Refer to the
@@ -61,5 +61,4 @@
6161
//
6262
[assembly: Guid("CC70C39C-9A99-4ce9-A9C1-725CE715F533")]
6363
[assembly: AssemblyDelaySign(false)]
64-
//[assembly: AssemblyKeyFile("..\\..\\..\\SVGSharp.key")]
6564
[assembly: AssemblyKeyName("")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using System;
2+
3+
namespace SharpVectors.Dom.Svg
4+
{
5+
public enum SvgMarkerPosition
6+
{
7+
Start,
8+
Mid,
9+
End
10+
}
11+
}

0 commit comments

Comments
 (0)