Commit graph

722 commits

Author SHA1 Message Date
Jaex 94e45b5cb8 Update year 2023-01-09 23:31:02 +03:00
L1Q 613c4df314
Use editor DPI when rendering final image 2022-10-11 16:39:01 +03:00
Jaex 0a13c7fc64 Added freehand arrow tool 2022-10-01 10:07:12 +03:00
Jaex 0922c73bd1 fixed #6512: When Ctrl key is hold also disable selection of resize nodes 2022-09-17 10:30:59 +03:00
Jaex e2b93615fd Open task menu automatically 2022-08-19 20:10:13 +03:00
Jaex 244883d2f8 Added "X" keybind to cut out tool 2022-08-18 20:41:10 +03:00
Jaex 77d0a4838d Change CutOutEffectSize default value 2022-08-18 17:27:18 +03:00
Jaex bed141f235 Added icon to cut out tool 2022-08-18 17:10:51 +03:00
Jaex 0e6194ce83 Cut out tool should be only visible in image editor 2022-08-18 16:55:34 +03:00
Niels Martin Hansen 2e23856e92 Use a 1x1 checkerboard fill pattern for selection highlight 2022-08-18 14:36:32 +02:00
Niels Martin Hansen a37116a0dc Code cleanup 2022-08-17 23:42:49 +02:00
Niels Martin Hansen 888db53d83 Factor out the affected area display rectangle for CutOutTool visual 2022-08-17 22:45:46 +02:00
Niels Martin Hansen b784ebe0c7 Add GUI configuration for cut out tool 2022-08-17 22:10:24 +02:00
Niels Martin Hansen e0423cf7c0 Implement ZigZag effect via a flag for TornEdges function
This reworks the TornEdges function to give a more consistent result at the corners too.
2022-08-17 19:01:12 +02:00
Niels Martin Hansen a342f8d2b6 Add Wave cut effect 2022-08-17 18:24:02 +02:00
Niels Martin Hansen 21bb827d03 Limit cut out selection highlight to canvas area 2022-08-17 17:14:33 +02:00
Niels Martin Hansen ce02e9ab07 Prevent cuts that would remove the entire image
And also don't show resize nodes
2022-08-17 17:07:44 +02:00
Niels Martin Hansen f9d144400e Use a checker pattern to denote area to be cut out 2022-08-17 16:42:00 +02:00
Niels Martin Hansen 9de1953e6d Refactor CutOutBitmapMiddle 2022-08-17 16:14:22 +02:00
Niels Martin Hansen 2465e94206 Fix selection highlight brush 2022-08-17 15:54:54 +02:00
Niels Martin Hansen b43c374d86 Properly use DeleteShape 2022-08-17 08:49:45 +02:00
Niels Martin Hansen ac0cfcd4ec Proof of concept Torn Edges effect on cut 2022-08-16 23:46:00 +02:00
Niels Martin Hansen 32cae726e8 Implement collapsing shapes overlapping with cut out area 2022-08-16 23:25:20 +02:00
Niels Martin Hansen 8b0c5d0d66 Confirm/Cancel button positioning logic for Cut Out tool 2022-08-16 19:14:19 +02:00
Niels Martin Hansen d5f522ab80 Rename TrimInteriorTool to CutOutTool 2022-08-16 12:11:13 +02:00
Niels Martin Hansen b1f7441176 Feature #4513, initial prototype 2022-08-16 00:22:54 +02:00
Jaex 0117c5ab11 Update keybinds link 2022-08-10 08:53:50 +03:00
Jaex f5ce6bfd32 fixed #6339: Make sure crop rectangle is inside bitmap area 2022-07-13 00:48:50 +03:00
Jaex 3275d92a54 fixed #6336: Round proportional position 2022-07-09 03:19:08 +03:00
Jaex 546c95c6b1 #5055: Also handle bigger cursor in region capture 2022-06-15 01:59:55 +03:00
Jaex b0684a9cd6 Fixed floating step number issue 2022-05-18 07:14:00 +03:00
Jaex f1734a3474 Rename link variables 2022-05-15 00:32:09 +03:00
Jaex f60e8dd6f7 Moved file related methods to FileHelpers class 2022-05-03 09:34:18 +03:00
Jaex df808d89f2 Allow 0 value for step number 2022-03-11 07:30:42 +03:00
Jaex 3a439df7f1 Fix active monitor mode issues 2022-02-24 10:24:16 +03:00
Jaex 7bc34890da fixed #5883: Added active monitor mode option to region capture 2022-02-23 13:00:18 +03:00
Eric Tetz 28ff51c082 Fix panning regression, where panning at limit accumulates invisible changes. 2022-02-20 14:59:29 -07:00
Eric Tetz 5f7c9096e0
Switch to floating point internally. Panning fixes. (#6108)
* Switch to floating point internally. Panning fixes.

* Fix panning/zoom coordination errors.
2022-02-20 09:30:39 +03:00
Jaex 1ea1dacb0f Code refactoring 2022-02-15 11:01:29 +03:00
Eric Tetz 6fdc7cb768 Fix centering, add hotkeys, add zoom to fit.
Don't zoom during capture.

Performance: don't apply ScaleTransform when zoom is 100%. Draw background using SourceCopy rather than SourceOver.

Fix scaled centering.

Add hotkeys CTRL -, CTRL + to zoom in/out.

Add "Zoom To Fit" (CTRL+ALT+0) and "Zoom to fit on startup" editor option.
2022-02-12 18:43:37 -07:00
Eric Tetz 992e462383 Merge branch 'develop' of https://github.com/EricTetz/ShareX into develop 2022-01-31 18:06:33 -07:00
Eric Tetz 2ee7843393 First pass at adding zoom to image editor, via CTRL+mouse wheel. 2022-01-31 18:01:18 -07:00
L1Q 8f5799c4cf Add "FPS Limit" line to resx 2022-01-30 04:40:04 +02:00
Jaex 4a6cb786e0 Save editor canvas color 2022-01-24 18:22:54 +03:00
Jaex bcaca6a0ad Added canvas color button to canvas size form 2022-01-23 12:14:53 +03:00
Jaex 19aa3ea9ae Update Twitter username 2022-01-22 08:18:52 +03:00
Jaex 621c8db965 Added FPS limit option to region capture options menu 2022-01-18 08:22:31 +03:00
Jaex 8c3dc0b78c Update year 2022-01-11 19:32:17 +03:00
Jaex 46e8387766 Rename variables 2022-01-05 10:44:18 +03:00
L1Q a742a66742 Move lines to resx 2021-12-14 17:51:54 +02:00