Commit graph

54 commits

Author SHA1 Message Date
Jaex 077e74a2d4 Update year 2024-01-03 02:57:14 +03:00
Jaex 94e45b5cb8 Update year 2023-01-09 23:31:02 +03: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
Eric Tetz 2ee7843393 First pass at adding zoom to image editor, via CTRL+mouse wheel. 2022-01-31 18:01:18 -07:00
Jaex 8c3dc0b78c Update year 2022-01-11 19:32:17 +03:00
Jaex 837ef0a7fc Update year 2021-07-29 06:22:51 +03:00
Jaex f86d009686 Also added border style option to ellipse, freehand, line, arrow and magnify annotation tools 2020-12-06 02:37:50 +03:00
Jaex 803a4e567c Update year 2020-02-05 10:19:48 +03:00
Jaex c85f23cc96 Support special folder variables in Actions 2019-10-09 23:03:36 +03:00
Jaex a8f992a203 fixed #4418: When drawing freehand, line or arrow make sure border size is minimum 1 2019-10-09 15:11:13 +03:00
Jaex e3a419c8b8 Store minimum size in options 2019-07-22 03:17:18 +03:00
Jaex 132ebafa9c Rename Between extension to Clamp 2019-05-23 22:59:16 +03:00
Jaex 469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex 8fe31bf279 Added "Use light resize nodes" option to region capture 2018-08-29 17:49:50 +03:00
Jaex dcbe2ab4fe #2955: Support old resize node style 2018-08-23 13:20:55 +03:00
Jaex d84cf9e48d If color of line changed don't reset center points 2018-06-06 01:27:08 +03:00
Jaex cb3711632c Fix "Use of implied arithmetic operator precedence" 2018-05-16 16:27:11 +03:00
Jaex 9448df3cda fixed #3385: Make sure line and arrow easily selectable 2018-05-12 11:10:48 +03:00
Ivan Bidolakh aa1e8afe43 Cleanup code
newPoints is array of structs "System.Drawing.Point". Any element of an array can not be null. That expression (newPoints[i] == null) always return false. So, we can remove this cycle without changes in program logic.
2018-04-29 01:38:21 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex b73ac79e4d Fix line panning 2017-11-16 13:42:13 +03:00
Jaex 165548f376 Use Points in arrow drawing shape too 2017-11-16 12:40:56 +03:00
Jaex d8cf9f1d17 Fix resize node issues 2017-11-16 12:21:05 +03:00
Jaex 920916c4ff Line drawing shape refactoring 2017-11-16 11:47:26 +03:00
Jaex 6a072fa079 Set rectangle instead of start/end positions 2017-11-16 09:02:27 +03:00
L1Q ec030b1fc2 Fix shape moving twice when moving and panning at the same time
Fix resizing while panning.
2017-11-07 08:24:58 +02:00
Jaex 70635461d5 Rename variables 2017-11-06 19:01:02 +03:00
Jaex 4ee76af0ea Added custom circle resize node 2017-09-30 17:08:40 +03:00
Jaex c40e77298b Added center points option to toolbar 2017-08-02 18:32:51 +03:00
Jaex 3de63379f8 Adding multiple center node support to line and arrow tools 2017-08-02 15:04:30 +03:00
Jaex f1a5f77ccc Also hide line/arrow resize nodes 2017-05-12 10:36:20 +03:00
Jaex 4d7006b359 Update year 2017-01-11 11:39:40 +03:00
Jaex 2e4f136377 Custom arrow cap for arrow drawing tool 2017-01-05 02:12:19 +03:00
Jaex 58a6707635 Added step & speech balloon text shadow 2016-11-29 23:06:54 +03:00
Jaex 37c3b7aa18 Added text shadow 2016-11-29 21:48:19 +03:00
Jaex 678ef0b1b0 Added line & arrow shadow 2016-11-29 21:32:52 +03:00
Jaex 47899781d9 Activate curve drawing only when center node dragged once that way if center node is not dragged then it will work same as before 2016-10-11 14:52:08 +03:00
Jaex c43ccd9ac5 Adding curve drawing support to line and arrow tools 2016-10-11 14:28:22 +03:00
Jaex 3132461219 Fix line, arrow anti aliasing issue when doing horizontal or vertical lines 2016-09-03 12:06:51 +03:00
Jaex 029d63f457 Use round cap for line drawing 2016-08-19 07:55:47 +03:00
Jaex 0017bbfc73 Rename classes 2016-08-17 11:35:06 +03:00
Jaex e07351fc6c Resize line from end position by default 2016-08-08 11:44:03 +03:00
Jaex 08d1d85df8 Removed NodeType, Changed ShowNodes to FixedSize 2016-08-05 17:20:08 +03:00
Jaex 5829085cb6 Moved node logic to BaseShape 2016-08-05 16:35:44 +03:00
Jaex eacac76a75 Shape resize logic moved to BaseShape from ResizeManager 2016-08-03 12:15:26 +03:00
Jaex 4414ed888e Shape move logic moved to BaseShape from ResizeManager 2016-08-03 12:01:39 +03:00
Jaex 0a78019274 CodeMaid cleanup 2016-07-30 04:21:18 +03:00
Jaex 3201c05643 Arrow will inherit Line, Text will inherit Rectangle 2016-05-23 19:34:41 +03:00
Jaex e98ef03b9e Line and arrow IsValidShape override 2016-05-23 19:18:09 +03:00
Jaex 1233a7e29c Removed DrawFinal from BaseDrawing, renamed Draw to OnDraw 2016-05-21 15:26:49 +03:00