-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* I guess the simplest way to add a context manager without breaking existing scripts #140 * adding save and restore tests this should actually test more: everything a graphic state holds and resets on restore * move class to global level * added some comments * rename to savedState * update test referenced image for saved state * update example with a transformation * support to add multiple modules or classes there are examples in the FormattedString and BezierPath classes * add support for different ui elements while mocking Variable * renaming example file name this name was already used in course ware * update expected png data * making the rect example bigger * making the oval example bigger * making the blendMode example bigger * dont use mov in examples prefer mp4 or gif * making the fill example bigger * making the lineGradient example bigger * prefer mp4 or gif above mov * adding images to docs * do not mock an ImageObject * update fill example * making the stroke example bigger * making the shadow example bigger * making the radialGradient example bigger * set size of example and update png test data * move code examples to docs + adding test png data * making the clipPath and drawPath example bigger * making the line lineCap lineDash lineJoin miterLimit polygon strokeWith example bigger * updating examples * making examples bigger * renaming test to savedState and add a nested one * adding the same nested save restore test without savedState * renaming to savedState.<ext> * fixing conficts * this one works and does not fail * make at least the sizing work correctly on Retina + Py3 * all image rep must be build with _makeBitmapImageRep when the imageObject reads a path, when the imageObjects applies a filter * implement 'fuzzy' image comparison, so we can allow some tolerance between generated and expected image data; use that in the example tester * adding PIL/PILLOW to the the require packages * only do fuzzy image comparison in specific cases * convert list to set
- Loading branch information
1 parent
8763595
commit 137a75e
Showing
60 changed files
with
387 additions
and
242 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
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
Oops, something went wrong.