-
-
Notifications
You must be signed in to change notification settings - Fork 785
[widget Audit] toga.Canvas #2029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
bd1a2a9
Updated documentation for Canvas.
freakboy3742 dc57388
Update docstrings, core API, and canvas examples.
freakboy3742 ab6f9f6
Complete documentation audit and add changenotes.
freakboy3742 20b3556
Core Canvas widget tests ported.
freakboy3742 c87c837
Initial canvas probe implementations for Cocoa and iOS.
freakboy3742 c8aa596
Initial GTK Cairo fixes plus probe.
freakboy3742 83a2b72
Merge branch 'gtk-font-tests' into audit-canvas
freakboy3742 440f3be
Make the Cocoa sRGB conversion conditional on an ICC profile existing.
freakboy3742 2a4fb29
Add a __len__ operation to context, and expanded canvas tutorial.
freakboy3742 3ae60c1
Allow for a default font on write_text, and correct docs on text origin.
freakboy3742 1b09a23
Cocoa Canvas at 100% coverage.
freakboy3742 43d765a
iOS canvas at 100% coverage.
freakboy3742 c9453d4
Mark Dummy interface as not required, and update Winforms/Android int…
freakboy3742 91648c9
GTK Canvas at 100% coverage.
freakboy3742 4e88fb2
Correct GTK multiline text handling.
freakboy3742 dd03691
Correct transparency handling on iOS.
freakboy3742 5dc4c2c
Exclude Font from dummy interface checks.
freakboy3742 de81c39
Disable multiline text test on GTK.
freakboy3742 d15ed48
Enable capture of test failure screenshots.
freakboy3742 39c501a
Rework reference variant handling to allow for more complex variant d…
freakboy3742 4c5e816
Merge branch 'gtk-font-tests' into audit-canvas
freakboy3742 d033c1e
Merge branch 'gtk-font-tests' into audit-canvas
freakboy3742 55ba727
Merge branch 'gtk-font-tests' into audit-canvas
freakboy3742 9fc0aef
Scale up canvas reference images to 200x200.
freakboy3742 3df8899
Set final test error thresholds.
freakboy3742 9c8271f
Merge branch 'gtk-font-tests' into audit-canvas
freakboy3742 66a613b
Merge branch 'gtk-font-tests' into audit-canvas
freakboy3742 b8370a1
Merge remote-tracking branch 'origin/main' into audit-canvas
mhsmith 67834ee
Make Widget.add, insert, remove and clear throw an exception if calle…
mhsmith 5fccc5c
Documentation cleanups
mhsmith f793e53
Remove redundant can_have_children methods
mhsmith bba6824
Fix grammar
mhsmith 142ec17
WinForms Canvas working in examples/canvas and tutorial4
mhsmith 399b3e1
All WinForms Canvas tests passing except transparency, text and input
mhsmith ee334a1
WinForms Canvas input tests passing
mhsmith 8e336af
Canvas docs clarifications
mhsmith 233adb2
Remove redundant DrawingOperation documentation
mhsmith 561828a
Fix WinForms Canvas test_transparency
mhsmith fa57ae9
Add method hyperlinks to DrawingObject subclass list
mhsmith 146190a
All WinForms Canvas tests passing at both 100% and 125% scale, except…
mhsmith 78eaf7f
Correct transparency handling on Cocoa canvas.
freakboy3742 fd7bb64
tutorial4 working on Android, except for text
mhsmith ae4f0ed
Canvas testbed passing on Android, except for text
mhsmith 1a8d1cc
Add text baseline setting, update tests, and fix on WinForms
mhsmith 1a7f57d
Update core Canvas tests
mhsmith c1611e6
Merge remote-tracking branch 'remotes/origin/main' into audit-canvas
mhsmith dbb70c6
Correct WinForms text issues
mhsmith 16d622d
Merge branch 'canvas-tmp' into audit-canvas
mhsmith d9c61fd
Implement write_text baseline on Cocoa and iOS, and correct font sizes
mhsmith da05a42
Make MIDDLE and BOTTOM refer to the entire text block, and add roundi…
mhsmith 9139042
Update MIDDLE and BOTTOM on WinForms, and update tests to verify it
mhsmith a975cab
Make Cocoa draw text lines separately
mhsmith 9fe6c4a
Make WinForms default font follow the system theme
mhsmith e5c02a9
Cocoa: align ALPHABETIC baseline with a logical pixel
mhsmith cadc219
Cocoa: switch from drawAtPoint to drawWithRect
mhsmith 425e6d4
Add definitions of CSS pixels and points
mhsmith 86a2012
Copy Cocoa text implementation to iOS, and add tests for multi-size b…
mhsmith 7cf6ce1
Android: implement Canvas text rendering
mhsmith 1e0f349
Update WinForms text reference image
mhsmith 8d486b4
Minor tweaks to sizing descriptions
freakboy3742 488403d
Rewrite GTK Canvas text rendering to use Pango
mhsmith d87dd61
More tweaks to sizing descriptions
mhsmith e97d1b4
GTK: refresh font map after loading a font
mhsmith 6cf78a9
Android Canvas at 100% coverage
mhsmith d04ff97
WinForms Canvas at 100% coverage
mhsmith c6a18ed
Implement HTML behavior when drawing on an empty path (Android, Cocoa…
mhsmith d7f4e2e
Base Cocoa and iOS line height on font metrics
mhsmith File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Art immitates life... the test case now reflects how we feel about the Canvas widget :-)