-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Production ready: eliminate print statements.
- Loading branch information
Showing
13 changed files
with
99 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
This is a hand generated changelog for versions, not very accurate. | ||
Use >git log for every commit. | ||
|
||
|
||
Version 0.0.2 | ||
============= | ||
|
||
SegmentString, Segment, ControlPoint classes. | ||
Explicitly model the abstractions of a SegmentString. | ||
This more cleanly separates freehandTool from what it produces. | ||
Demonstrates editing a SegmentString by manipulation of its ControlPoints. | ||
(Although editing is not graphical, just crude demo via keystrokes.) | ||
|
||
|
||
Version 0.0.3 | ||
============= | ||
|
||
- Relations between ControlPoints defines actions (behavior of user manipulations.) | ||
- Cusps known by SegmentString | ||
- Actions defined as a Strategy/Policy | ||
- An API that can be cleanly hooked to a GUI editor. | ||
|
||
Version 0.1 | ||
=========== | ||
|
||
A production version? | ||
|
||
Add exception for generated null segments, catch the exception internally, and handle it gracefully. | ||
I don't expect the algorithm to generate null segments, but if it does they are handled. | ||
|
||
Improve ghosting of the head of the generated curve: path instead of straight line. | ||
|
||
Clarify use of input, view (int pixel) coords and internal, scene (float) coords. | ||
Eliminate rounding errors by not converting in the back direction. | ||
|
||
Reraise StopIteration. If the tool fails, it will generate this exception. | ||
A caller might be able to rescue. | ||
|
||
Remove all print statements. |
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
Binary file not shown.
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
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