Commit fa870975 authored by Tebjan Halm's avatar Tebjan Halm
Browse files

polygon fix and minor repo cleanup

parent 41581021
......@@ -43,14 +43,14 @@ namespace Svg
try
{
for (int i = 0; i < this._points.Count; i+=2)
for (int i = 2; i < this._points.Count; i+=2)
{
PointF endPoint = new PointF(this._points[i].ToDeviceValue(this), this._points[i+1].ToDeviceValue(this));
// TODO: Remove unrequired first line
//first line
if (_path.PointCount == 0)
{
_path.AddLine(endPoint, endPoint);
_path.AddLine(new PointF(this._points[i-2].ToDeviceValue(this), this._points[i-1].ToDeviceValue(this)), endPoint);
}
else
{
......
C:\Dev\vvvv\vvvv\public\common\src\thirdparty\Svg.dll
C:\Dev\vvvv\vvvv\public\common\src\thirdparty\Svg.pdb
C:\Dev\vvvv\SVG\Source\obj\Debug\ResolveAssemblyReference.cache
C:\Dev\vvvv\SVG\Source\obj\Debug\Svg.dll
C:\Dev\vvvv\SVG\Source\obj\Debug\Svg.pdb
C:\Dev\vvvv\vvvv\public\common\src\thirdparty\Svg.XML
C:\Dev\vvvv\SVG\Source\obj\Release\ResolveAssemblyReference.cache
C:\Dev\vvvv\vvvv\public\common\src\thirdparty\Svg.dll
C:\Dev\vvvv\vvvv\public\common\src\thirdparty\Svg.pdb
C:\Dev\vvvv\SVG\Source\obj\Release\Svg.dll
C:\Dev\vvvv\SVG\Source\obj\Release\Svg.pdb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment