Commit graph

36 commits

Author SHA1 Message Date
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
Jaex 110d1eede0 Allow border size 0 for fill color only shapes 2016-05-20 18:49:38 +03:00
Jaex 265a37fbd4 UpdateShape on rounded rectangle radius change, check color transparency properly 2016-05-06 16:02:46 +03:00
Jaex c4f7268106 Show two circle nodes for line and arrow selection 2016-05-06 01:15:41 +03:00
Jaex a9b446e15e Added line drawing 2016-05-05 20:03:57 +03:00