-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed two bugs in spiro.c 1. Removed test code "if (xmax >= ymax) dm[0] = xmax; else dm[0] = ymax;" This would be seen as problematic if drawing in the -x, -y area. (This was test-code that I forgot to remove before making a release). 2. Moved NULL test to correct location (SPIRO_INTERNAL_BEZCTX=0). Fixed minor numerical bug in call-test21.c (This bug is not important to anyone, except maybe/not maintainers). Little bit of a bonus... Solved call-test10 and call-test11 by searching for the first available 'c' or 'o'. This is more of a kludge versus a true fix since a spiro curve will need to contain one or more 'v', 'c' or 'o' somewhere. call-test10 is basically the same curve as call-test7, but starts with 'ah', while call-test11 is a curve starting with '[]'. Basically KISS.
- Loading branch information
Showing
7 changed files
with
75 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#define DO_CALL_TEST10 1 | ||
#define DO_CALL_TEST10 | ||
#include "call-test.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#define DO_CALL_TEST11 1 | ||
#define DO_CALL_TEST11 | ||
#include "call-test.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters