From 8757312f59fc4a9aacbf1bf2ddedbe19c92e0fd2 Mon Sep 17 00:00:00 2001 From: Reenforcements Date: Thu, 6 Dec 2018 12:12:58 -0500 Subject: [PATCH] Fixed a bug in writing color change indices --- .idea/workspace.xml | 196 ++++++++++++------------- PECRender/main.py | 2 +- TestOutput/simple.pes | Bin 0 -> 3903 bytes TestOutput/ugliestApple.pes | Bin 0 -> 4864 bytes Tests/debugPicture.png | Bin 3808 -> 2783 bytes Tests/test1.svg | 3 + Tests/{curves.svg => ugliestApple.svg} | 25 +++- src/PES.py | 2 +- src/PES.pyc | Bin 14480 -> 14489 bytes src/main.py | 2 +- src/svgFunctions.py | 3 +- src/svgFunctions.pyc | Bin 11282 -> 11370 bytes 12 files changed, 124 insertions(+), 109 deletions(-) create mode 100644 TestOutput/simple.pes create mode 100644 TestOutput/ugliestApple.pes create mode 100644 Tests/test1.svg rename Tests/{curves.svg => ugliestApple.svg} (50%) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index fa54004..016c372 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,11 @@ + + + + @@ -15,8 +19,8 @@ - - + + @@ -24,37 +28,37 @@ - + - + - + - + - + - + - + @@ -64,8 +68,8 @@ - - + + @@ -73,16 +77,16 @@ - + - - + + - - - + + + @@ -91,15 +95,15 @@ - - + + - - - - - + + + + + @@ -108,7 +112,7 @@ - + @@ -129,26 +133,22 @@ - + - - + + - - + - - + + - - - - - + + @@ -164,9 +164,6 @@ - getClosest - image - fe width label FF @@ -182,7 +179,6 @@ getCoordinate PECColors short - long PEC TYPE_LONG encode @@ -190,10 +186,14 @@ maxStitchDistance prepend createSubshapeLineGroups - inver - print - closest subshapeLineGroups + closest + print + long + svg + inver + ColorChange + indexInColorList @@ -212,10 +212,10 @@ @@ -238,7 +238,6 @@ - @@ -274,6 +273,7 @@