├── paket.lock
├── paket.dependencies
├── ProjectSettings
├── ProjectVersion.txt
├── NavMeshLayers.asset
├── ClusterInputManager.asset
├── EditorBuildSettings.asset
├── NetworkManager.asset
├── TimeManager.asset
├── AudioManager.asset
├── EditorSettings.asset
├── TagManager.asset
├── DynamicsManager.asset
├── UnityConnectSettings.asset
├── NavMeshAreas.asset
├── Physics2DSettings.asset
├── GraphicsSettings.asset
├── QualitySettings.asset
└── InputManager.asset
├── .paket
├── paket.exe
├── paket.bootstrapper.exe
└── paket.targets
├── Assets
├── Demo.meta
├── Editor.meta
├── SVGFiles.meta
├── Test.unity.meta
├── BigBatch.unity.meta
├── Demo
│ ├── Invoke.cs.meta
│ ├── Material.mat.meta
│ ├── Shader.shader.meta
│ ├── Shader.shader
│ ├── Material.mat
│ └── Invoke.cs
├── Editor
│ └── UnityREPL.meta
├── SVGFiles
│ ├── arc1.txt.meta
│ ├── arc2.txt.meta
│ ├── arc3.txt.meta
│ ├── lion.txt.meta
│ ├── none.txt.meta
│ ├── path1.txt.meta
│ ├── path2.txt.meta
│ ├── path3.txt.meta
│ ├── rect1.txt.meta
│ ├── rect2.txt.meta
│ ├── test1.txt.meta
│ ├── test2.txt.meta
│ ├── tiger.txt.meta
│ ├── butterfly.svg.meta
│ ├── butterfly.txt.meta
│ ├── circle1.txt.meta
│ ├── lines1.txt.meta
│ ├── polyline1.txt.meta
│ ├── polyline2.txt.meta
│ ├── radgrad1.txt.meta
│ ├── lineargradient1.txt.meta
│ ├── rect1.svg.meta
│ ├── lineargradient1.svg.meta
│ ├── none.txt
│ ├── path1.txt
│ ├── rect2.txt
│ ├── path2.txt
│ ├── arc1.txt
│ ├── path3.txt
│ ├── arc3.txt
│ ├── rect1.svg
│ ├── rect1.txt
│ ├── polyline2.txt
│ ├── circle1.txt
│ ├── arc2.txt
│ ├── polyline1.txt
│ ├── test1.txt
│ ├── radgrad1.txt
│ ├── lines1.txt
│ ├── lineargradient1.svg
│ ├── lineargradient1.txt
│ └── test2.txt
├── UnityGUIExtensions.meta
├── UnitySVG
│ ├── Interface.meta
│ ├── Implement.cs.meta
│ ├── Implementation.meta
│ ├── Implementation
│ │ ├── SVG.meta
│ │ ├── SVG
│ │ │ ├── DOM.meta
│ │ │ └── DOM
│ │ │ │ ├── Paths.meta
│ │ │ │ ├── BasicShapes.meta
│ │ │ │ ├── BasicTypes.meta
│ │ │ │ ├── Utilities.meta
│ │ │ │ ├── Paths
│ │ │ │ ├── Interfaces.meta
│ │ │ │ ├── SVGPathSeg.cs.meta
│ │ │ │ ├── SVGPathElement.cs.meta
│ │ │ │ ├── SVGPathSegArcAbs.cs.meta
│ │ │ │ ├── SVGPathSegArcRel.cs.meta
│ │ │ │ ├── SVGPathSegList.cs.meta
│ │ │ │ ├── SVGPathSegClosePath.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoCubic.cs.meta
│ │ │ │ ├── SVGPathSegLinetoAbs.cs.meta
│ │ │ │ ├── SVGPathSegLinetoRel.cs.meta
│ │ │ │ ├── SVGPathSegMovetoAbs.cs.meta
│ │ │ │ ├── SVGPathSegMovetoRel.cs.meta
│ │ │ │ ├── Interfaces
│ │ │ │ │ ├── ISVGDrawable.cs.meta
│ │ │ │ │ ├── ISVGDrawableSeg.cs.meta
│ │ │ │ │ ├── ISVGDrawableSeg.cs
│ │ │ │ │ ├── ISVGDrawable.cs
│ │ │ │ │ ├── ISVGPathSegment.cs
│ │ │ │ │ └── ISVGPathSegment.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoCubicAbs.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoCubicRel.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoQuadratic.cs.meta
│ │ │ │ ├── SVGPathSegLinetoVerticalAbs.cs.meta
│ │ │ │ ├── SVGPathSegLinetoVerticalRel.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoCubicSmoothAbs.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoCubicSmoothRel.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoQuadraticAbs.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoQuadraticRel.cs.meta
│ │ │ │ ├── SVGPathSegLinetoHorizontalAbs.cs.meta
│ │ │ │ ├── SVGPathSegLinetoHorizontalRel.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoQuadraticSmoothAbs.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoQuadraticSmoothRel.cs.meta
│ │ │ │ ├── SVGPathSegCurvetoQuadratic.cs
│ │ │ │ ├── SVGPathSegCurvetoCubic.cs
│ │ │ │ ├── SVGPathSegLinetoAbs.cs
│ │ │ │ ├── SVGPathSegMovetoAbs.cs
│ │ │ │ ├── SVGPathSegClosePath.cs
│ │ │ │ ├── SVGPathSegLinetoVerticalAbs.cs
│ │ │ │ ├── SVGPathSegLinetoHorizontalAbs.cs
│ │ │ │ ├── SVGPathSegLinetoVerticalRel.cs
│ │ │ │ ├── SVGPathSegLinetoHorizontalRel.cs
│ │ │ │ ├── SVGPathSegLinetoRel.cs
│ │ │ │ ├── SVGPathSegMovetoRel.cs
│ │ │ │ ├── SVGPathSegCurvetoQuadraticAbs.cs
│ │ │ │ ├── SVGPathSegArcAbs.cs
│ │ │ │ ├── SVGPathSegList.cs
│ │ │ │ ├── SVGPathSegCurvetoQuadraticSmoothAbs.cs
│ │ │ │ ├── SVGPathSegArcRel.cs
│ │ │ │ ├── SVGPathSegCurvetoCubicAbs.cs
│ │ │ │ ├── SVGPathSeg.cs
│ │ │ │ ├── SVGPathSegCurvetoCubicSmoothAbs.cs
│ │ │ │ ├── SVGPathSegCurvetoQuadraticSmoothRel.cs
│ │ │ │ ├── SVGPathSegCurvetoQuadraticRel.cs
│ │ │ │ ├── SVGPathSegCurvetoCubicSmoothRel.cs
│ │ │ │ └── SVGPathSegCurvetoCubicRel.cs
│ │ │ │ ├── DocumentStructure.meta
│ │ │ │ ├── GradientsNPatterns.meta
│ │ │ │ ├── BasicTypes
│ │ │ │ ├── SVGColor.cs.meta
│ │ │ │ ├── SVGLength.cs.meta
│ │ │ │ ├── SVGPaintable.cs.meta
│ │ │ │ ├── SVGTransformable.cs.meta
│ │ │ │ ├── SVGColor.cs
│ │ │ │ ├── SVGTransformable.cs
│ │ │ │ └── SVGLength.cs
│ │ │ │ ├── CoordinateTransformUnits.meta
│ │ │ │ ├── Utilities
│ │ │ │ ├── DOMException.cs.meta
│ │ │ │ ├── LiteStack.cs.meta
│ │ │ │ ├── SVGException.cs.meta
│ │ │ │ ├── SVGColorExtractor.cs.meta
│ │ │ │ ├── SVGStringExtractor.cs.meta
│ │ │ │ ├── SVGException.cs
│ │ │ │ ├── LiteStack.cs
│ │ │ │ ├── DOMException.cs
│ │ │ │ └── SVGStringExtractor.cs
│ │ │ │ ├── BasicShapes
│ │ │ │ ├── SVGCircleElement.cs.meta
│ │ │ │ ├── SVGLineElement.cs.meta
│ │ │ │ ├── SVGRectElement.cs.meta
│ │ │ │ ├── SVGEllipseElement.cs.meta
│ │ │ │ ├── SVGPolygonElement.cs.meta
│ │ │ │ ├── SVGPolylineElement.cs.meta
│ │ │ │ ├── SVGBasicElement.cs.meta
│ │ │ │ ├── SVGCircleElement.cs
│ │ │ │ ├── SVGEllipseElement.cs
│ │ │ │ ├── SVGRectElement.cs
│ │ │ │ ├── SVGPolylineElement.cs
│ │ │ │ ├── SVGPolygonElement.cs
│ │ │ │ ├── SVGLineElement.cs
│ │ │ │ └── SVGBasicElement.cs
│ │ │ │ ├── DocumentStructure
│ │ │ │ ├── SVGDocument.cs.meta
│ │ │ │ ├── SVGGElement.cs.meta
│ │ │ │ ├── SVGSVGElement.cs.meta
│ │ │ │ ├── SVGDocument.cs
│ │ │ │ ├── SVGGElement.cs
│ │ │ │ └── SVGSVGElement.cs
│ │ │ │ ├── GradientsNPatterns
│ │ │ │ ├── SVGStopElement.cs.meta
│ │ │ │ ├── SVGGradientElement.cs.meta
│ │ │ │ ├── SVGLinearGradientElement.cs.meta
│ │ │ │ ├── SVGRadialGradientElement.cs.meta
│ │ │ │ ├── SVGStopElement.cs
│ │ │ │ ├── SVGLinearGradientElement.cs
│ │ │ │ ├── SVGRadialGradientElement.cs
│ │ │ │ └── SVGGradientElement.cs
│ │ │ │ └── CoordinateTransformUnits
│ │ │ │ ├── Matrix2x3.cs.meta
│ │ │ │ ├── SVGTransform.cs.meta
│ │ │ │ ├── SVGTransformList.cs.meta
│ │ │ │ ├── SVGTransformList.cs
│ │ │ │ ├── Matrix2x3.cs
│ │ │ │ └── SVGTransform.cs
│ │ ├── XMLParser.meta
│ │ ├── RenderingEngine.meta
│ │ ├── XMLParser
│ │ │ ├── SVGParser.cs.meta
│ │ │ ├── SmallXmlParser.cs.meta
│ │ │ └── SVGParser.cs
│ │ └── RenderingEngine
│ │ │ ├── BasicType.meta
│ │ │ ├── RenderingDevices.meta
│ │ │ ├── SVGBasicDraw.cs.meta
│ │ │ ├── SVGGraphics.cs.meta
│ │ │ ├── SVGGraphicsFill.cs.meta
│ │ │ ├── SVGGraphicsPath.cs.meta
│ │ │ ├── BasicType
│ │ │ ├── SVGGArcAbs.cs.meta
│ │ │ ├── SVGGCircle.cs.meta
│ │ │ ├── SVGGCubicAbs.cs.meta
│ │ │ ├── SVGGEllipse.cs.meta
│ │ │ ├── SVGGQuadraticAbs.cs.meta
│ │ │ ├── SVGGLineTo.cs.meta
│ │ │ ├── SVGGMoveTo.cs.meta
│ │ │ ├── SVGGRect.cs.meta
│ │ │ ├── SVGGPolyLine.cs.meta
│ │ │ ├── SVGGPolygon.cs.meta
│ │ │ ├── SVGGLineTo.cs
│ │ │ ├── SVGGCircle.cs
│ │ │ ├── SVGGMoveTo.cs
│ │ │ ├── SVGGQuadraticAbs.cs
│ │ │ ├── SVGGEllipse.cs
│ │ │ ├── SVGGPolygon.cs
│ │ │ ├── SVGGPolyLine.cs
│ │ │ ├── SVGGCubicAbs.cs
│ │ │ ├── SVGGArcAbs.cs
│ │ │ └── SVGGRect.cs
│ │ │ ├── SVGGraphicsStroke.cs.meta
│ │ │ ├── SVGLinearGradientBrush.cs.meta
│ │ │ ├── SVGRadialGradientBrush.cs.meta
│ │ │ ├── RenderingDevices
│ │ │ ├── SVGDeviceFast.cs.meta
│ │ │ ├── ISVGDevice.cs.meta
│ │ │ ├── SVGDeviceSmall.cs.meta
│ │ │ ├── ISVGDevice.cs
│ │ │ ├── SVGDeviceFast.cs
│ │ │ └── SVGDeviceSmall.cs
│ │ │ ├── SVGGraphicsPath.cs
│ │ │ └── SVGLinearGradientBrush.cs
│ ├── Interface
│ │ ├── RenderingEngine.meta
│ │ └── RenderingEngine
│ │ │ ├── ISVGPathDraw.cs.meta
│ │ │ └── ISVGPathDraw.cs
│ ├── Extensions.cs
│ ├── Extensions.cs.meta
│ └── Implement.cs
└── UnitySVG.meta
├── SharpVectorGraphics.0.4.alpha.zip
├── bin
├── paket
└── format_code
├── .gitmodules
├── .editorconfig
├── .gitignore
├── UnitySVG.sublime-project
├── LICENSE
├── README.md
└── benchmarks.txt
/paket.lock:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/paket.dependencies:
--------------------------------------------------------------------------------
1 | source https://www.nuget.org/api/v2
2 |
--------------------------------------------------------------------------------
/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 5.5.2f1
2 |
--------------------------------------------------------------------------------
/.paket/paket.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MrJoy/UnitySVG/HEAD/.paket/paket.exe
--------------------------------------------------------------------------------
/Assets/Demo.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 08b24598dd117a63d0004889613f5639
3 |
--------------------------------------------------------------------------------
/Assets/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fb6f2cbdc33c14793b345ecd7f501d9d
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 7329e7dfae9e2432db0c51e8e06d74e5
3 |
--------------------------------------------------------------------------------
/Assets/Test.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 72ae05d36e51449b0953c3184b18d653
3 |
--------------------------------------------------------------------------------
/Assets/BigBatch.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 56684fc74466b46f28607eee7cc186c2
3 |
--------------------------------------------------------------------------------
/Assets/Demo/Invoke.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: f681b4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/Demo/Material.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 51edb96bdd118a63d000decb613f5639
3 |
--------------------------------------------------------------------------------
/Assets/Demo/Shader.shader.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: d5e8e6383c1f3428ead6d80078cb8daf
3 |
--------------------------------------------------------------------------------
/Assets/Editor/UnityREPL.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e57f43ecc64d3472f9559232a339d63b
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/arc1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 9c11505acd3334dd49c26981ad8853a9
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/arc2.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: f7a83dad7eccd4f39812661fee7bf285
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/arc3.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: e4c0cc2d4572f45a1b29a021feb7e1b9
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/lion.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 8a395d64ef14b443a87fd383c19bb58c
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/none.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 4769247eb286a4faabbd21567ef7d5d2
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/path1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 2268932f9d8c84ae28ffd0a78885f00e
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/path2.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 1805eee13a2014d5ea9a586e0d0560ee
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/path3.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: a040285ffb356451198844403cc242b3
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/rect1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: bd68f1af0cd774dc4bde7d2e161fea35
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/rect2.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: c2545c8d9994746c092fb7a7023206e2
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/test1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 1a881d02cd6d34d0f8814e6a92b19c2f
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/test2.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 97cc7aa9aaa064cb38b78afc029b5aac
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/tiger.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 5526ef80d6d7342859fad7964808fdca
3 |
--------------------------------------------------------------------------------
/Assets/UnityGUIExtensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e79c3645c60fa4bda870cf5bd4570cfd
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Interface.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 74ffa4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/butterfly.svg.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 1b1a9256d13844471877bf5f5ea6d670
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/butterfly.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 2d59d53084f184b8bae8db891ed1dfe8
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/circle1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 4b1d125e9c8d84780a99629ca0a7d768
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/lines1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 9ed41d2b626b344d2bd96a4f792485b5
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/polyline1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: bdd68603fbf20464fa6d8ecffbb07690
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/polyline2.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 421a8db9b6ed841c394c51edd695620e
3 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/radgrad1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: c7b0d77386e2b426dbc764553e601799
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 43ce94a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 83de94a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/.paket/paket.bootstrapper.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MrJoy/UnitySVG/HEAD/.paket/paket.bootstrapper.exe
--------------------------------------------------------------------------------
/Assets/SVGFiles/lineargradient1.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: e3f6aaf8394bc4ed7b78185625feac37
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 8ca2a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 3c53a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/XMLParser.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 7b0fa4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: a40aa4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Interface/RenderingEngine.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 7b70b4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/SharpVectorGraphics.0.4.alpha.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MrJoy/UnitySVG/HEAD/SharpVectorGraphics.0.4.alpha.zip
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 878f94a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 2714a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicTypes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: d855a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Utilities.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 62bda4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/ProjectSettings/NavMeshLayers.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MrJoy/UnitySVG/HEAD/ProjectSettings/NavMeshLayers.asset
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/Interfaces.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: be5ba4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/XMLParser/SVGParser.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 8b3aa7b3f9ae941fba31c7e5bbb28275
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 6b70a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/DocumentStructure.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: ac28a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/GradientsNPatterns.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: b519a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSeg.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 2b70f56a6b52646feb27c50962075d93
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/XMLParser/SmallXmlParser.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 47bfa4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Interface/RenderingEngine/ISVGPathDraw.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 5dae9f92bb40f445cb3b4fb004e0beab
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/RenderingDevices.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 399c088f42a0e439a8496ad381d37749
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/SVGBasicDraw.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: ad8691ad30aea46b79363aa335981238
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/SVGGraphics.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: d6b07b7adb54544308ed236c59c56d5e
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/SVGGraphicsFill.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 2cf9037eaf1584c05a217166a6003430
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/SVGGraphicsPath.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: fbaa5b797a3f74caaadcf5401c96e167
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicTypes/SVGColor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 2f1b12114bdc245079e618b539314d07
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicTypes/SVGLength.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: f3d08beca8f154357896be1c1574affc
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicTypes/SVGPaintable.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: ab6a956192fbe4116a407a477fcc9de3
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/CoordinateTransformUnits.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 1a07a4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 88a9fccb49d2f4ee3b758e27335d83e5
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegArcAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 92c1b32b014fb480cbe35fc55c1ce6f8
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegArcRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 1f940484fe758429faf4660dab138224
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegList.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: c3a5a12d5cfdf459a96bd7602960e338
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Utilities/DOMException.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: fdd76c284ee7d45f5840b0009dba0fe7
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Utilities/LiteStack.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: c9cea4a6dd117063d000a35b613f5639
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Utilities/SVGException.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 0cef747541703440e86340b5cca84580
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGArcAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: ba81054021fcb4662880c509b914471b
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGCircle.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 380499dc426414b3eaa324a44ab2da06
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/SVGGraphicsStroke.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: a334b83904b414926ab32f8c851d16b9
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGCircleElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 758082430f9644092985eec7f5ddb372
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGLineElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 297daae153b5843be80d0669a553faaa
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGRectElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 77b819b47807149ac91314cd15c0fab1
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicTypes/SVGTransformable.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 3c0154a4c8db64dcbb16fc691a9f45dd
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegClosePath.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 7a89d3f4073fb49ffae831dfe556df98
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoCubic.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: a2d7cc7c68bf24b5bab0fefbb0851fa5
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: c369e9d2111a44839a555ece2f8cc0c7
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 598fbae76f429454dbcd251986937ba2
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegMovetoAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: fbe527def63804b9d8c621e098c769ed
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegMovetoRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 5ca7104214e9e4b86bea3ad704c56994
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Utilities/SVGColorExtractor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: e59e39c6de3a64773a555ba42a3d4447
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Utilities/SVGStringExtractor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: c74d09cf2a00d43b08571a2f5c7fdc43
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGCubicAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 7b411c68dc084478d83f468252f77ba8
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGEllipse.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 6ca78d12aa6ad4e7bbd2b8f492c0e4e9
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/SVGLinearGradientBrush.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 9085dec39bfbd44d8b33cd0051736df7
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/SVGRadialGradientBrush.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 9dfbeb88b4e5b4f1ab687fc2e191c704
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGEllipseElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: a2bc70aeb171e4ce1929950dcfa578f7
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGPolygonElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 49f635bd579a240108976538d83cbaa7
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGPolylineElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 15af5e10b0d1a4e48b4cf38d4a9537d0
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/DocumentStructure/SVGDocument.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 351f8e4d9caca45deb72797bd9accd88
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/DocumentStructure/SVGGElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 92743eda825db45f6a0725f43f95c520
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/DocumentStructure/SVGSVGElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 62c14cc19744a449d861e2dc24d17e1a
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/GradientsNPatterns/SVGStopElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 9eca5f7bd51d74ad1adbfd5813ee1d60
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/Interfaces/ISVGDrawable.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 8c5161da6c9f74a89a45bde33685326e
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/Interfaces/ISVGDrawableSeg.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: df377ead808a74361af6bd1093a36c54
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoCubicAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 8af6997e3963c4b7d9aa8bc78a51ecff
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoCubicRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 421a648b36a774323b5a89b88ace9e04
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoQuadratic.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 7ccc78f38046e46959a0bd5e500242c4
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoVerticalAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: edbd2f73ed0ca498a81fed71c51fb3a6
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoVerticalRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: df2e19d82da4d426a816cb5475896b60
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGQuadraticAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 06e81d861b5bd4d1daf673947f95f53b
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/RenderingDevices/SVGDeviceFast.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: d5c6b3a8c2afa4255bf63e48acf25e9a
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/CoordinateTransformUnits/Matrix2x3.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: b762a9f8a98e343d2b6517b865fad1c7
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/CoordinateTransformUnits/SVGTransform.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 73fb19954f55c41469ca4a891e89237d
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/GradientsNPatterns/SVGGradientElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 23c55137f8cff4504ad7ade00514723b
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoCubicSmoothAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: b32c10b86636e47d8a5e702b636c2338
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoCubicSmoothRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 2a88dc4645b3c4158bdba5f715545423
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoQuadraticAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: e78801a1b0be646ac8714c8245722e9d
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoQuadraticRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 5c1257a4d950c473abf4fc913cce080a
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoHorizontalAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 5ca1e8b4086414bbb99559fc824a2aa2
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoHorizontalRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 7e25b3aae953f474d9178fed3ebeca13
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/CoordinateTransformUnits/SVGTransformList.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 5a4367b24dcce4a168354870cba6f04d
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/GradientsNPatterns/SVGLinearGradientElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 888d54f7bc6bb482ca16f0bd23127dec
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/GradientsNPatterns/SVGRadialGradientElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 6ca1ed628a6764b268c49aecf1d5779f
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoQuadraticSmoothAbs.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 09dca972c6d4b4ee1bce0e37509c23d0
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoQuadraticSmoothRel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 1
2 | guid: 50dda37f18ebe40f38c78aa0f2114ffc
3 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/Interfaces/ISVGDrawableSeg.cs:
--------------------------------------------------------------------------------
1 | public interface ISVGDrawableSeg {
2 | void Render(SVGGraphicsPath graphicsPath);
3 | }
4 |
--------------------------------------------------------------------------------
/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/Interfaces/ISVGDrawable.cs:
--------------------------------------------------------------------------------
1 | public interface ISVGDrawable {
2 | void BeforeRender(SVGTransformList transformList);
3 |
4 | void Render();
5 | }
6 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes: []
8 |
--------------------------------------------------------------------------------
/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!149 &1
4 | NetworkManager:
5 | m_ObjectHideFlags: 0
6 | m_DebugLevel: 0
7 | m_Sendrate: 15
8 | m_AssetToPrefab: {}
9 |
--------------------------------------------------------------------------------
/bin/paket:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -euo pipefail
3 | IFS=$'\n\t'
4 |
5 | BASE_DIR=$(
6 | cd "$(dirname "$(readlink "$0" || echo "$0")")/.."
7 | /bin/pwd
8 | )
9 |
10 | mono "${BASE_DIR}"/.paket/paket.exe "$@"
11 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoQuadratic.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public abstract class SVGPathSegCurvetoQuadratic : SVGPathSeg {
4 | public abstract Vector2 controlPoint1 { get; }
5 | }
6 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/rect1.svg.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3f8c823ecef3b764ea6d1ed784fb870d
3 | timeCreated: 1446924938
4 | licenseType: Pro
5 | DefaultImporter:
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/Interfaces/ISVGPathSegment.cs:
--------------------------------------------------------------------------------
1 | public interface ISVGPathSegment {
2 | void ExpandBounds(SVGGraphicsPath path);
3 |
4 | bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw);
5 | }
6 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/lineargradient1.svg.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6a5adee1ea5c98543abe76a73ecc5ac4
3 | timeCreated: 1446891395
4 | licenseType: Pro
5 | DefaultImporter:
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnitySVG.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5e9727643870f994c8a30a12753ac52e
3 | folderAsset: yes
4 | timeCreated: 1446488794
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/Demo/Shader.shader:
--------------------------------------------------------------------------------
1 | Shader "Shader" {
2 | Properties {
3 | _MainTex ("Base (RGB)", 2D) = "white" { }
4 | }
5 | SubShader {
6 | Pass {
7 | Lighting Off
8 | SetTexture [_MainTex] { combine texture }
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGLineTo.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9b5fe785f51eb4b47aa9e37f83de71d6
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGMoveTo.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8e80992fbb771419599417b7123cbefc
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGRect.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f1a82212972e94781a24db7b61b247ca
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGPolyLine.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 72d2c18216b5f4a86a22a9097ee17132
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGPolygon.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c25cfb9cb96d7423790920f8e54f0208
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/Interfaces/ISVGPathSegment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fd25c55913f04475b84c09e3eae3e29b
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "Assets/Editor/UnityREPL"]
2 | path = Assets/Editor/UnityREPL
3 | url = git://github.com/MrJoy/UnityREPL.git
4 | [submodule "Assets/UnityGUIExtensions"]
5 | path = Assets/UnityGUIExtensions
6 | url = git://github.com/MrJoy/UnityGUIExtensions.git
7 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/RenderingDevices/ISVGDevice.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f0ebd8d14349e40dba7085eb34ec5979
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/RenderingDevices/SVGDeviceSmall.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 86adde7f4428642f4bb6bef0cb806168
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoCubic.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public abstract class SVGPathSegCurvetoCubic : SVGPathSeg {
4 | public abstract Vector2 controlPoint1 { get; }
5 |
6 | public abstract Vector2 controlPoint2 { get; }
7 | }
8 |
--------------------------------------------------------------------------------
/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.33333334
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/none.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://EditorConfig.org
2 |
3 | # top-most EditorConfig file
4 | root = true
5 |
6 | # Unix-style newlines with a newline ending every file
7 | [*]
8 | end_of_line = lf
9 | insert_final_newline = true
10 | trim_trailing_whitespace = true
11 | charset = utf-8
12 | indent_style = space
13 | indent_size = 2
14 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Extensions.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace UnitySVG {
4 | public static class Extensions {
5 | public static string GetValue(this Dictionary dictionary, TKey key) {
6 | return dictionary.ContainsKey(key) ? dictionary[key] : string.Empty;
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Extensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 61b56091334dcb747a729265d4af1013
3 | timeCreated: 1446488772
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGBasicElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 220fd59c049e7174fae88b94817659fe
3 | timeCreated: 1446493984
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/RenderingDevices/ISVGDevice.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public interface ISVGDevice {
4 | int Width { get; }
5 |
6 | int Height { get; }
7 |
8 | void SetDevice(int width, int height);
9 |
10 | void SetPixel(int x, int y);
11 |
12 | Color GetPixel(int x, int y);
13 |
14 | void SetColor(Color color);
15 |
16 | Texture2D Render();
17 | }
18 |
--------------------------------------------------------------------------------
/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | m_Volume: 1
7 | Rolloff Scale: 1
8 | Doppler Factor: 1
9 | Default Speaker Mode: 2
10 | m_SampleRate: 0
11 | m_DSPBufferSize: 0
12 | m_VirtualVoiceCount: 512
13 | m_RealVoiceCount: 32
14 | m_SpatializerPlugin:
15 | m_DisableAudio: 0
16 | m_VirtualizeEffects: 1
17 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 3
7 | m_ExternalVersionControlSupport: Visible Meta Files
8 | m_SerializationMode: 2
9 | m_DefaultBehaviorMode: 0
10 | m_SpritePackerMode: 2
11 | m_SpritePackerPaddingPower: 1
12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;svg
13 | m_ProjectGenerationRootNamespace:
14 | m_UserGeneratedProjectSuffix:
15 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/path1.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
11 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGLineTo.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGGLineTo : ISVGPathSegment {
4 | private readonly Vector2 point;
5 |
6 | public SVGGLineTo(Vector2 p) {
7 | point = p;
8 | }
9 |
10 | public void ExpandBounds(SVGGraphicsPath path) {
11 | path.ExpandBounds(point);
12 | }
13 |
14 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
15 | pathDraw.LineTo(path.matrixTransform.Transform(point));
16 | return false;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | -
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGCircle.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGGCircle : ISVGPathSegment {
4 | private readonly Vector2 point;
5 | private readonly float r;
6 |
7 | public SVGGCircle(Vector2 p, float r) {
8 | this.point = p;
9 | this.r = r;
10 | }
11 |
12 | public void ExpandBounds(SVGGraphicsPath path) {
13 | path.ExpandBounds(point, r, r);
14 | }
15 |
16 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
17 | pathDraw.CircleTo(path.matrixTransform.Transform(point), r);
18 |
19 | return true;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/rect2.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
15 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/path2.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
13 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGMoveTo.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using UnityEngine.Profiling;
3 |
4 | public class SVGGMoveTo : ISVGPathSegment {
5 | private readonly Vector2 point;
6 |
7 | public SVGGMoveTo(Vector2 p) {
8 | point = p;
9 | }
10 |
11 | public void ExpandBounds(SVGGraphicsPath path) {
12 | path.ExpandBounds(point);
13 | }
14 |
15 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
16 | Profiler.BeginSample("SVGGMoveTo.Render");
17 | pathDraw.MoveTo(path.matrixTransform.Transform(point));
18 | Profiler.EndSample();
19 | return false;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegLinetoAbs : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f, _y = 0f;
5 |
6 | public float x { get { return this._x; } }
7 |
8 | public float y { get { return this._y; } }
9 |
10 | public SVGPathSegLinetoAbs(float x, float y) : base() {
11 | this._x = x;
12 | this._y = y;
13 | }
14 |
15 | public override Vector2 currentPoint { get { return new Vector2(this._x, this._y); } }
16 |
17 | public void Render(SVGGraphicsPath _graphicsPath) {
18 | _graphicsPath.AddLineTo(currentPoint);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegMovetoAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegMovetoAbs : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f, _y = 0f;
5 |
6 | public float x { get { return this._x; } }
7 |
8 | public float y { get { return this._y; } }
9 |
10 | public SVGPathSegMovetoAbs(float x, float y) : base() {
11 | this._x = x;
12 | this._y = y;
13 | }
14 |
15 | public override Vector2 currentPoint { get { return new Vector2(this._x, this._y); } }
16 |
17 | public void Render(SVGGraphicsPath _graphicsPath) {
18 | _graphicsPath.AddMoveTo(new Vector2(this._x, this._y));
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/arc1.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
14 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGQuadraticAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGGQuadraticAbs : ISVGPathSegment {
4 | private readonly Vector2 p1;
5 | private readonly Vector2 p;
6 |
7 | public SVGGQuadraticAbs(Vector2 q1, Vector2 q) {
8 | p1 = q1;
9 | p = q;
10 | }
11 |
12 | public void ExpandBounds(SVGGraphicsPath path) {
13 | path.ExpandBounds(p1);
14 | path.ExpandBounds(p);
15 | }
16 |
17 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
18 | pathDraw.QuadraticCurveTo(path.matrixTransform.Transform(p1), path.matrixTransform.Transform(p));
19 | return false;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegClosePath.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegClosePath : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f, _y = 0f;
5 |
6 | public SVGPathSegClosePath(float x, float y) : base() {
7 | if(x == -1f && y == -1f) {
8 | this._x = previousPoint.x;
9 | this._y = previousPoint.y;
10 | } else {
11 | this._x = x;
12 | this._y = y;
13 | }
14 | }
15 |
16 | public override Vector2 currentPoint { get { return new Vector2(this._x, this._y); } }
17 |
18 | public void Render(SVGGraphicsPath _graphicsPath) {
19 | _graphicsPath.AddLineTo(currentPoint);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/path3.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
14 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/DocumentStructure/SVGDocument.cs:
--------------------------------------------------------------------------------
1 | public class SVGDocument {
2 | private SVGSVGElement rootElement;
3 | private readonly SVGGraphics render;
4 | private readonly SVGParser parser;
5 |
6 | public SVGSVGElement RootElement {
7 | get {
8 | if(rootElement == null) {
9 | while(!parser.IsEOF && parser.Node.Name != SVGNodeName.SVG)
10 | parser.Next();
11 | rootElement = new SVGSVGElement(parser, new SVGTransformList(), new SVGPaintable(), render);
12 | }
13 | return rootElement;
14 | }
15 | }
16 |
17 | public SVGDocument(string originalDocument, SVGGraphics r) {
18 | parser = new SVGParser(originalDocument);
19 | render = r;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGEllipse.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGGEllipse : ISVGPathSegment {
4 | private readonly Vector2 p;
5 | private readonly float r1;
6 | private readonly float r2;
7 | private readonly float angle;
8 |
9 | public SVGGEllipse(Vector2 p, float r1, float r2, float angle) {
10 | this.p = p;
11 | this.r1 = r1;
12 | this.r2 = r2;
13 | this.angle = angle;
14 | }
15 |
16 | public void ExpandBounds(SVGGraphicsPath path) {
17 | path.ExpandBounds(p, r1, r2);
18 | }
19 |
20 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
21 | pathDraw.EllipseTo(path.matrixTransform.Transform(p), r1, r2, path.transformAngle + angle);
22 | return true;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGPolygon.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections.Generic;
3 |
4 | public class SVGGPolygon : ISVGPathSegment {
5 | private readonly List points;
6 |
7 | public SVGGPolygon(List points) {
8 | this.points = points;
9 | }
10 |
11 | public void ExpandBounds(SVGGraphicsPath path) {
12 | path.ExpandBounds(points);
13 | }
14 |
15 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
16 | int length = points.Count;
17 | Vector2[] tPoints = new Vector2[length];
18 |
19 | for(int i = 0; i < length; i++)
20 | tPoints[i] = path.matrixTransform.Transform(points[i]);
21 | pathDraw.Polygon(tPoints);
22 |
23 | return true;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGPolyLine.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections.Generic;
3 |
4 | public class SVGGPolyLine : ISVGPathSegment {
5 | private readonly List points;
6 |
7 | public SVGGPolyLine(List points) {
8 | this.points = points;
9 | }
10 |
11 | public void ExpandBounds(SVGGraphicsPath path) {
12 | path.ExpandBounds(points);
13 | }
14 |
15 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
16 | int length = points.Count;
17 | pathDraw.MoveTo(path.matrixTransform.Transform(points[0]));
18 | for(int i = 1; i < length; i++) {
19 | Vector2 p = path.matrixTransform.Transform(points[i]);
20 | pathDraw.LineTo(p);
21 | }
22 |
23 | return false;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/arc3.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
19 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoVerticalAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegLinetoVerticalAbs : SVGPathSeg, ISVGDrawableSeg {
4 | private float _y = 0f;
5 |
6 | public float y { get { return this._y; } }
7 |
8 | public SVGPathSegLinetoVerticalAbs(float y) : base() {
9 | this._y = y;
10 | }
11 |
12 | public override Vector2 currentPoint {
13 | get {
14 | Vector2 _return = new Vector2(0f, 0f);
15 | SVGPathSeg _prevSeg = previousSeg;
16 | if(_prevSeg != null) {
17 | _return.x = _prevSeg.currentPoint.x;
18 | _return.y = this._y;
19 | }
20 | return _return;
21 | }
22 | }
23 |
24 | public void Render(SVGGraphicsPath _graphicsPath) {
25 | _graphicsPath.AddLineTo(currentPoint);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 3
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_EnablePCM: 1
18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
19 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoHorizontalAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegLinetoHorizontalAbs : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f;
5 |
6 | public float x { get { return this._x; } }
7 |
8 | public SVGPathSegLinetoHorizontalAbs(float x) : base() {
9 | this._x = x;
10 | }
11 |
12 | public override Vector2 currentPoint {
13 | get {
14 | Vector2 _return = new Vector2(0f, 0f);
15 | SVGPathSeg _prevSeg = previousSeg;
16 | if(_prevSeg != null) {
17 | _return.x = this._x;
18 | _return.y = _prevSeg.currentPoint.y;
19 | }
20 | return _return;
21 | }
22 | }
23 |
24 | public void Render(SVGGraphicsPath _graphicsPath) {
25 | _graphicsPath.AddLineTo(currentPoint);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/RenderingEngine/BasicType/SVGGCubicAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGGCubicAbs : ISVGPathSegment {
4 | private readonly Vector2 p1;
5 | private readonly Vector2 p2;
6 | private readonly Vector2 point;
7 |
8 | public SVGGCubicAbs(Vector2 q1, Vector2 q2, Vector2 p) {
9 | p1 = q1;
10 | p2 = q2;
11 | point = p;
12 | }
13 |
14 | public void ExpandBounds(SVGGraphicsPath path) {
15 | path.ExpandBounds(p1);
16 | path.ExpandBounds(p2);
17 | path.ExpandBounds(point);
18 | }
19 |
20 | public bool Render(SVGGraphicsPath path, ISVGPathDraw pathDraw) {
21 | pathDraw.CubicCurveTo(path.matrixTransform.Transform(p1), path.matrixTransform.Transform(p2),
22 | path.matrixTransform.Transform(point));
23 | return false;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | m_Enabled: 0
7 | m_TestMode: 0
8 | m_TestEventUrl:
9 | m_TestConfigUrl:
10 | CrashReportingSettings:
11 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes
12 | m_Enabled: 0
13 | m_CaptureEditorExceptions: 1
14 | UnityPurchasingSettings:
15 | m_Enabled: 0
16 | m_TestMode: 0
17 | UnityAnalyticsSettings:
18 | m_Enabled: 0
19 | m_InitializeOnStartup: 1
20 | m_TestMode: 0
21 | m_TestEventUrl:
22 | m_TestConfigUrl:
23 | UnityAdsSettings:
24 | m_Enabled: 0
25 | m_InitializeOnStartup: 1
26 | m_TestMode: 0
27 | m_EnabledPlatforms: 4294967295
28 | m_IosGameId:
29 | m_AndroidGameId:
30 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoVerticalRel.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegLinetoVerticalRel : SVGPathSeg, ISVGDrawableSeg {
4 | private float _y = 0f;
5 |
6 | public float y { get { return this._y; } }
7 |
8 | public SVGPathSegLinetoVerticalRel(float y) : base() {
9 | this._y = y;
10 | }
11 |
12 | public override Vector2 currentPoint {
13 | get {
14 | Vector2 _return = new Vector2(0f, 0f);
15 | SVGPathSeg _prevSeg = previousSeg;
16 | if(_prevSeg != null) {
17 | _return.x = _prevSeg.currentPoint.x;
18 | _return.y = _prevSeg.currentPoint.y + this._y;
19 | }
20 | return _return;
21 | }
22 | }
23 |
24 | public void Render(SVGGraphicsPath _graphicsPath) {
25 | _graphicsPath.AddLineTo(currentPoint);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoHorizontalRel.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegLinetoHorizontalRel : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f;
5 |
6 | public float x { get { return this._x; } }
7 |
8 | public SVGPathSegLinetoHorizontalRel(float x) : base() {
9 | this._x = x;
10 | }
11 |
12 | public override Vector2 currentPoint {
13 | get {
14 | Vector2 _return = new Vector2(0f, 0f);
15 | SVGPathSeg _prevSeg = previousSeg;
16 | if(_prevSeg != null) {
17 | _return.x = _prevSeg.currentPoint.x + this._x;
18 | _return.y = _prevSeg.currentPoint.y;
19 | }
20 | return _return;
21 | }
22 | }
23 |
24 | public void Render(SVGGraphicsPath _graphicsPath) {
25 | _graphicsPath.AddLineTo(currentPoint);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/rect1.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
19 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/rect1.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
19 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/GradientsNPatterns/SVGStopElement.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using UnitySVG;
3 |
4 | public class SVGStopElement {
5 | private readonly float _offset;
6 | private readonly SVGColor _stopColor;
7 |
8 | public float offset { get { return _offset; } }
9 |
10 | public SVGColor stopColor { get { return _stopColor; } }
11 |
12 | public SVGStopElement(Dictionary attrList) {
13 | _stopColor = new SVGColor(attrList.GetValue("stop-color"));
14 | string temp = attrList.GetValue("offset").Trim();
15 | if(temp != "") {
16 | if(temp.EndsWith("%"))
17 | _offset = float.Parse(temp.TrimEnd(new[] { '%' }), System.Globalization.CultureInfo.InvariantCulture);
18 | else
19 | _offset = float.Parse(temp, System.Globalization.CultureInfo.InvariantCulture) * 100;
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Utilities/SVGException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.Serialization;
3 |
4 | public enum SVGExceptionType {
5 | WrongType,
6 | InvalidValue,
7 | MatrixNotInvertable
8 | }
9 |
10 | public class SVGException : DOMException {
11 | public SVGException(SVGExceptionType errorCode) : this(errorCode, String.Empty, null) {
12 | }
13 |
14 | public SVGException(SVGExceptionType errorCode, string message) : this(errorCode, message, null) {
15 | }
16 |
17 | public SVGException(SVGExceptionType errorCode, string message, Exception innerException)
18 | : base(message, innerException) {
19 | code = errorCode;
20 | }
21 |
22 | protected SVGException(SerializationInfo info, StreamingContext context) : base(info, context) {
23 | }
24 |
25 | private SVGExceptionType code;
26 |
27 | public new SVGExceptionType Code { get { return code; } }
28 | }
29 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoRel.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegLinetoRel : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f, _y = 0f;
5 |
6 | public float x { get { return this._x; } }
7 |
8 | public float y { get { return this._y; } }
9 |
10 | public SVGPathSegLinetoRel(float x, float y) : base() {
11 | this._x = x;
12 | this._y = y;
13 | }
14 |
15 | public override Vector2 currentPoint {
16 | get {
17 | Vector2 _return = new Vector2(0f, 0f);
18 | SVGPathSeg _prevSeg = previousSeg;
19 | if(_prevSeg != null) {
20 | _return.x = _prevSeg.currentPoint.x + this._x;
21 | _return.y = _prevSeg.currentPoint.y + this._y;
22 | }
23 | return _return;
24 | }
25 | }
26 |
27 | public void Render(SVGGraphicsPath _graphicsPath) {
28 | _graphicsPath.AddLineTo(currentPoint);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegMovetoRel.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegMovetoRel : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f, _y = 0f;
5 |
6 | public float x { get { return this._x; } }
7 |
8 | public float y { get { return this._y; } }
9 |
10 | public SVGPathSegMovetoRel(float x, float y) : base() {
11 | this._x = x;
12 | this._y = y;
13 | }
14 |
15 | public override Vector2 currentPoint {
16 | get {
17 | Vector2 _return = new Vector2(0f, 0f);
18 | SVGPathSeg _prevSeg = previousSeg;
19 | if(_prevSeg != null) {
20 | _return.x = _prevSeg.currentPoint.x + this._x;
21 | _return.y = _prevSeg.currentPoint.y + this._y;
22 | }
23 | return _return;
24 | }
25 | }
26 |
27 | public void Render(SVGGraphicsPath _graphicsPath) {
28 | _graphicsPath.AddMoveTo(currentPoint);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/polyline2.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
18 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Interface/RenderingEngine/ISVGPathDraw.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public interface ISVGPathDraw {
4 | void MoveTo(Vector2 p);
5 |
6 | void CircleTo(Vector2 p, float r);
7 |
8 | void EllipseTo(Vector2 p, float r1, float r2, float angle);
9 |
10 | void ArcTo(float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, Vector2 p);
11 |
12 | void CubicCurveTo(Vector2 p1, Vector2 p2, Vector2 p);
13 |
14 | void QuadraticCurveTo(Vector2 p1, Vector2 p);
15 |
16 | void LineTo(Vector2 p);
17 |
18 | void Rect(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4);
19 |
20 | void RoundedRect(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8,
21 | float r1, float r2, float angle);
22 |
23 | void Circle(Vector2 p, float r);
24 |
25 | void Ellipse(Vector2 p, float rx, float ry, float angle);
26 |
27 | void Polygon(Vector2[] points);
28 | }
29 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/circle1.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
17 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/arc2.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
19 |
--------------------------------------------------------------------------------
/Assets/Demo/Material.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_PrefabParentObject: {fileID: 0}
8 | m_PrefabInternal: {fileID: 0}
9 | m_Name: Material
10 | m_Shader: {fileID: 4800000, guid: d5e8e6383c1f3428ead6d80078cb8daf, type: 3}
11 | m_ShaderKeywords:
12 | m_LightmapFlags: 5
13 | m_CustomRenderQueue: -1
14 | stringTagMap: {}
15 | m_SavedProperties:
16 | serializedVersion: 2
17 | m_TexEnvs:
18 | - first:
19 | name: _MainTex
20 | second:
21 | m_Texture: {fileID: 0}
22 | m_Scale: {x: 1, y: 1}
23 | m_Offset: {x: 0, y: 0}
24 | m_Floats: []
25 | m_Colors:
26 | - first:
27 | name: _Color
28 | second: {r: 1, g: 1, b: 1, a: 1}
29 | - first:
30 | name: _MainTex_ST
31 | second: {r: 1, g: 1, b: 0, a: 0}
32 | --- !u!1002 &2100001
33 | EditorExtensionImpl:
34 | serializedVersion: 6
35 |
--------------------------------------------------------------------------------
/Assets/SVGFiles/polyline1.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
18 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegCurvetoQuadraticAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegCurvetoQuadraticAbs : SVGPathSegCurvetoQuadratic, ISVGDrawableSeg {
4 | private float _x = 0f, _y = 0f, _x1 = 0f, _y1 = 0f;
5 |
6 | public float x { get { return this._x; } }
7 |
8 | public float y { get { return this._y; } }
9 |
10 | public float x1 { get { return this._x1; } }
11 |
12 | public float y1 { get { return this._y1; } }
13 |
14 | public SVGPathSegCurvetoQuadraticAbs(float x1, float y1, float x, float y) : base() {
15 | this._x = x;
16 | this._y = y;
17 | this._x1 = x1;
18 | this._y1 = y1;
19 | }
20 |
21 | public override Vector2 currentPoint { get { return new Vector2(this._x, this._y); } }
22 |
23 | public override Vector2 controlPoint1 { get { return new Vector2(this._x1, this._y1); } }
24 |
25 | public void Render(SVGGraphicsPath _graphicsPath) {
26 | _graphicsPath.AddQuadraticCurveTo(controlPoint1, currentPoint);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegArcAbs.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public class SVGPathSegArcAbs : SVGPathSeg, ISVGDrawableSeg {
4 | private float _x = 0f, _y = 0f, _r1 = 0f, _r2 = 0f, _angle = 0f;
5 | private bool _largeArcFlag = false, _sweepFlag = false;
6 |
7 | public float x { get { return this._x; } }
8 |
9 | public float y { get { return this._y; } }
10 |
11 | public SVGPathSegArcAbs(float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, float x, float y) : base() {
12 | this._r1 = r1;
13 | this._r2 = r2;
14 | this._angle = angle;
15 | this._largeArcFlag = largeArcFlag;
16 | this._sweepFlag = sweepFlag;
17 | this._x = x;
18 | this._y = y;
19 | }
20 |
21 | public override Vector2 currentPoint { get { return new Vector2(this._x, this._y); } }
22 |
23 | public void Render(SVGGraphicsPath _graphicsPath) {
24 | _graphicsPath.AddArcTo(this._r1, this._r2, this._angle, this._largeArcFlag, this._sweepFlag, currentPoint);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicTypes/SVGColor.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public enum SVGColorType : ushort {
4 | Unknown = 0,
5 | RGB = 1,
6 | Current = 2,
7 | None = 3
8 | }
9 |
10 | public struct SVGColor {
11 | public SVGColorType colorType;
12 | public Color color;
13 |
14 | public SVGColor(string colorString) {
15 | if(SVGColorExtractor.IsHexColor(colorString)) {
16 | colorType = SVGColorType.RGB;
17 | color = SVGColorExtractor.HexColor(colorString);
18 | } else if(SVGColorExtractor.IsConstName(colorString)) {
19 | colorType = SVGColorType.RGB;
20 | color = SVGColorExtractor.ConstColor(colorString);
21 | } else if(colorString.ToLower() == "current") {
22 | colorType = SVGColorType.Current;
23 | color = Color.black;
24 | } else if(colorString.ToLower() == "none") {
25 | colorType = SVGColorType.None;
26 | color = Color.black;
27 | } else {
28 | colorType = SVGColorType.Unknown;
29 | color = Color.black;
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/GradientsNPatterns/SVGLinearGradientElement.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using UnitySVG;
3 |
4 | public class SVGLinearGradientElement : SVGGradientElement {
5 | private readonly SVGLength _x1, _y1, _x2, _y2;
6 |
7 | public SVGLength x1 { get { return _x1; } }
8 |
9 | public SVGLength y1 { get { return _y1; } }
10 |
11 | public SVGLength x2 { get { return _x2; } }
12 |
13 | public SVGLength y2 { get { return _y2; } }
14 |
15 | public SVGLinearGradientElement(SVGParser xmlImp, Dictionary attrList) : base(xmlImp, attrList) {
16 | string temp;
17 | temp = _attrList.GetValue("x1");
18 | _x1 = new SVGLength((temp == "") ? "0%" : temp);
19 |
20 | temp = this._attrList.GetValue("y1");
21 | _y1 = new SVGLength((temp == "") ? "0%" : temp);
22 |
23 | temp = this._attrList.GetValue("x2");
24 | _x2 = new SVGLength((temp == "") ? "100%" : temp);
25 |
26 | temp = this._attrList.GetValue("y2");
27 | _y2 = new SVGLength((temp == "") ? "0%" : temp);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/BasicShapes/SVGCircleElement.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using UnitySVG;
3 |
4 | public class SVGCircleElement : SVGBasicElement {
5 | private readonly SVGLength _cx, _cy, _r;
6 |
7 | public SVGLength cx { get { return _cx; } }
8 |
9 | public SVGLength cy { get { return _cy; } }
10 |
11 | public SVGLength r { get { return _r; } }
12 |
13 | public SVGCircleElement(Dictionary attrList,
14 | SVGTransformList inheritTransformList,
15 | SVGPaintable inheritPaintable,
16 | SVGGraphics render) : base(attrList, inheritTransformList, inheritPaintable, render) {
17 | _cx = new SVGLength(attrList.GetValue("cx"));
18 | _cy = new SVGLength(attrList.GetValue("cy"));
19 | _r = new SVGLength(attrList.GetValue("r"));
20 | }
21 |
22 | protected override void CreateGraphicsPath() {
23 | _graphicsPath = new SVGGraphicsPath();
24 | _graphicsPath.Add(this);
25 | _graphicsPath.transformList = summaryTransformList;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegList.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | public class SVGPathSegList {
4 | private List