- 
                Notifications
    
You must be signed in to change notification settings  - Fork 589
 
          v1: Canvas.capture(), canvas draw images, GestureDetector right-click pan updates.
          #5444
        
          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 4 commits
      Commits
    
    
            Show all changes
          
          
            41 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      86b7e90
              
                Draw image on Canvas - a working draft
              
              
                FeodorFitsner 720f056
              
                New Canvas methods: `capture()`, `get_capture()`, `clear_capture()`
              
              
                FeodorFitsner cb2424f
              
                New `GestureDetector` events: `on_right_pan_start`, `on_right_pan_upd…
              
              
                FeodorFitsner 15af0f9
              
                Added `PageMediaData.device_pixel_ratio` property
              
              
                FeodorFitsner effb0c2
              
                Canvas.capture() fixed for DPR
              
              
                FeodorFitsner f482769
              
                BaseControl. _trigger_event, context moved to a separate module
              
              
                FeodorFitsner 236c4fe
              
                Scale canvas to account for DPR when taking capture
              
              
                FeodorFitsner 5d55afb
              
                Preserve capture size
              
              
                FeodorFitsner e4837dd
              
                Fix: page.page should return Page.
              
              
                FeodorFitsner d9e7e8b
              
                KeyboardListener control
              
              
                FeodorFitsner 1b63fa7
              
                Allow FilePicker.save_file on web
              
              
                FeodorFitsner 7748440
              
                Merge branch 'main' into feodor/v1-canvas-recording
              
              
                FeodorFitsner be9d3c4
              
                Merge branch 'main' into feodor/v1-canvas-recording
              
              
                FeodorFitsner 1041f48
              
                Update right-pan event
              
              
                FeodorFitsner b18b3d3
              
                All canvas shapes can be dashed
              
              
                FeodorFitsner 3642e02
              
                Renamed example
              
              
                FeodorFitsner 8663e3b
              
                Add KeyboardListener docs and improve canvas docstrings
              
              
                FeodorFitsner 8220e36
              
                Add keyboard listener example and improve docs
              
              
                FeodorFitsner 07dc1fd
              
                Enhance PageView with detailed docstrings and base class
              
              
                FeodorFitsner 2f0ed30
              
                Fix tests: Remove ScrollableControl from PageView inheritance
              
              
                FeodorFitsner 643fdff
              
                Merge branch 'main' into feodor/v1-canvas-recording
              
              
                FeodorFitsner 922012e
              
                Refactor integration tests and add canvas test coverage
              
              
                FeodorFitsner f4b9908
              
                Lower pytest log level to INFO in AppVeyor config
              
              
                FeodorFitsner d018c39
              
                Update CI config and test finders only
              
              
                FeodorFitsner 78e5372
              
                Run all integration tests
              
              
                FeodorFitsner e2e0655
              
                Update test runner and increase test delay in test_canvas.py
              
              
                FeodorFitsner 3778399
              
                Run all tests, again
              
              
                FeodorFitsner c0775e6
              
                Refactor screenshot test timing in canvas tests
              
              
                FeodorFitsner a4838fb
              
                Add canvas capture tests and enable full CI matrix
              
              
                FeodorFitsner d761dce
              
                Refactor control initialization and property handling
              
              
                FeodorFitsner 06ad8ff
              
                Add pixel_ratio support to Canvas capture methods
              
              
                FeodorFitsner 40a15e6
              
                Apply suggestion from @Copilot
              
              
                FeodorFitsner dfa7299
              
                Update __init__.py
              
              
                FeodorFitsner c36c5f4
              
                improve some docstrings
              
              
                ndonkoHenri 035ad3d
              
                `on_media_change` event receives new media data
              
              
                ndonkoHenri 03fb5cb
              
                Canvas example: Add image saving and optimize canvas capture
              
              
                FeodorFitsner 083ce4e
              
                Refactor canvas shape constructors to use keyword args
              
              
                FeodorFitsner 7eb6bb4
              
                Add platform checks and validation to FilePicker methods
              
              
                FeodorFitsner 36d9da4
              
                Remove base64 decoding fallback in loadCanvasImage
              
              
                FeodorFitsner 0b14355
              
                Merge branch 'feodor/v1-canvas-recording' of https://github.com/flet-…
              
              
                FeodorFitsner e67d21b
              
                use FletExceptions and remove outdated brush.gif
              
              
                ndonkoHenri 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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  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.