Commit graph

634 commits

Author SHA1 Message Date
Jaex
25460cb4b9 Added ShowNodes virtual function to BaseShape instead of using ShowResizeNodes property 2016-08-24 16:59:53 +03:00
Jaex
5b7cd4063d Show nodes for image and text drawing OnCreating 2016-08-24 16:41:40 +03:00
Jaex
4577ac9673 Ignore extra node in BaseShape 2016-08-24 16:29:50 +03:00
Jaex
94d1ee5c41 Pressing Ctrl + Enter will accept text in text drawing input box 2016-08-24 16:18:00 +03:00
Jaex
d74892f883 Added extra node to be used for speech balloon tail in future 2016-08-24 15:52:09 +03:00
Jaex
b454f2e7f7 In text tool automatically resize rectangle to fit text so won't need to drag rectangle, when text input box is canceled remove shape 2016-08-24 01:04:48 +03:00
Jaex
a3b8eb88a8 Added centerText parameter to SetText method 2016-08-23 21:02:52 +03:00
Jaex
f432754b87 Added support to paste text with ctrl + v in region capture 2016-08-23 20:33:48 +03:00
Jaex
f9ec01a2c1 If image dialog is canceled then remove image shape 2016-08-23 16:39:15 +03:00
Jaex
59f0b43c18 Change SetImage method to allow centering image to cursor 2016-08-23 16:30:59 +03:00
Jaex
8469f3065d Added OnCreating function to BaseShape 2016-08-23 16:03:48 +03:00
Jaex
394aa60699 Added RegionCaptureOptions parameter to each function in RegionCaptureHelpers class 2016-08-22 22:39:38 +03:00
Jaex
603ca595c1 On image shape created or double clicked open image file dialog 2016-08-19 16:16:40 +03:00
Jaex
0b0efdc129 Added icon to image drawing 2016-08-19 13:50:52 +03:00
Jaex
e60556cdaf Add enum description 2016-08-19 13:32:27 +03:00
Jaex
2a115ed205 Added IDisposable to ShapeManager and BaseShape 2016-08-19 13:22:12 +03:00
Jaex
72693d46d1 Adding image paste (ctrl + v) support to region capture 2016-08-19 12:59:46 +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
c5a68e9945 Create node inside ShapeManager 2016-08-17 09:35:38 +03:00
Jaex
168e57c96b Remove unused classes 2016-08-17 09:27:59 +03:00
Jaex
b6a54e0979 Use LineJoin.Round in freehand pen 2016-08-17 02:47:32 +03:00
Jaex
952312662e If freehand only have one point then draw ellipse to that point using border size 2016-08-17 02:41:13 +03:00
Jaex
51d72b6a4e Use round caps for freehand pen 2016-08-17 02:33:53 +03:00
Jaex
ff629719ea Added undo and fps tips 2016-08-17 00:15:08 +03:00
Jaex
a38c79e46c Added undo shape keybind (ctrl + z) 2016-08-15 23:48:27 +03:00
Jaex
4c3a8c3dd4 Before open options menu select intersect shape 2016-08-15 22:29:48 +03:00
Jaex
4b0a323c9c Allow moving freehand drawing 2016-08-15 03:55:44 +03:00
Jaex
cc4d9c4bcc Update tips for freehand drawing 2016-08-15 03:47:54 +03:00
Jaex
9258a20533 Show border color and size options for freehand drawing 2016-08-15 03:42:23 +03:00
Jaex
5100580601 Added icon for freehand drawing 2016-08-15 02:43:33 +03:00
Jaex
84c3a977d6 Adding freehand drawing support 2016-08-15 02:11:21 +03:00
Jaex
2497875b0a Added ShowResizeNodes to BaseShape 2016-08-15 02:02:27 +03:00
Jaex
5762b08e5e Q press will change check state of control 2016-08-15 00:58:10 +03:00
Jaex
937643a8a6 fixed #1776: Added Q key bind to change multi region setting 2016-08-14 23:32:01 +03:00
Jaex
5b077d4871 fixed #1714: Center resize nodes to cursor that way magnifier can show exact pixel 2016-08-09 19:16:48 +03:00
Jaex
2537316a33 Using expression bodies in few properties 2016-08-09 01:24:17 +03:00
Jaex
ecbd01a923 Store hover area as BaseShape to be able to hover freehand etc. properly 2016-08-09 01:05:01 +03:00
Jaex
14ecc618e9 Added IsRegionShape to BaseShape 2016-08-09 00:15:52 +03:00
Jaex
36b460dfda Added AddRoundedRectangleProper extension 2016-08-08 21:59:09 +03:00
Jaex
2d6853029c Fix rounded rectangle region 1 off issue 2016-08-08 21:31:07 +03:00
Jaex
90307fe841 Region capture F1 tips update 2016-08-08 12:00:06 +03:00
Jaex
4eee080b59 On freehand region & step drawing resize call move method so arrow keys can move without require holding ctrl key 2016-08-08 11:46:45 +03:00
Jaex
e07351fc6c Resize line from end position by default 2016-08-08 11:44:03 +03:00
Jaex
fac18cb04e Removed polygon capture because region capture freehand can work same when shift hold 2016-08-06 17:23:54 +03:00
Jaex
c62e374620 Don't show snap areas on freehand region 2016-08-06 16:53:29 +03:00
Jaex
08d1d85df8 Removed NodeType, Changed ShowNodes to FixedSize 2016-08-05 17:20:08 +03:00
Jaex
05490a90e5 Added ShowNodes property so shape can disable nodes 2016-08-05 16:48:46 +03:00
Jaex
5829085cb6 Moved node logic to BaseShape 2016-08-05 16:35:44 +03:00
Jaex
282d543a91 Removed NodeManager and moved its codes to ShapeManager for preparation to have node logic inside BaseShape 2016-08-05 16:17:53 +03:00
Jaex
4d01f94cb7 Start resizing from bottom right instead of top left 2016-08-05 15:24:29 +03:00
Jaex
0834ca540c Make ShapeManager and NodeManager internal 2016-08-05 15:10:05 +03:00
Jaex
1409c72716 Rename ResizeManager to NodeManager 2016-08-05 14:43:57 +03:00
Jaex
2622c2469c Move key move/resize methods to ShapeManager from ResizeManager, Removed Show/Hide methods from ResizeManager instead using Visible property 2016-08-05 14:37:20 +03:00
Jaex
7be1c5e519 Move/resize key code changes to be more easily understandable 2016-08-05 13:44:47 +03:00
Jaex
883f725d80 Added node to last point of freehand region to be able to continue drawing 2016-08-05 13:13:16 +03:00
Jaex
7ac883e8b9 Allow moving all freehand points while creating it using ctrl 2016-08-05 11:43:52 +03:00
Jaex
d33b19e3c7 When region capture opened show current region shape type 2016-08-04 14:18:21 +03:00
Jaex
a51c132828 If shift hold when creating first point then create two points that way polygon mode can create line 2016-08-04 13:37:57 +03:00
Jaex
3b2d2d3045 When shift pressed create new point once to move for polygon mode 2016-08-04 13:19:42 +03:00
Jaex
1315f47340 When drawing freehand region you can hold "Shift" to draw direct lines which will act like polygon region 2016-08-04 04:13:57 +03:00
Jaex
efa8704879 CloseFigure already adds line from end to start so no need to add it manually 2016-08-04 03:07:00 +03:00
Jaex
a89a58cf34 Revert "Removed freehand region form"
This reverts commit d94e714479.
2016-08-03 12:51:16 +03:00
Jaex
f95afed046 Ignore region freehand for hover 2016-08-03 12:31:15 +03:00
Jaex
881a3c22da Don't allow freehand resize 2016-08-03 12:19:01 +03:00
Jaex
eacac76a75 Shape resize logic moved to BaseShape from ResizeManager 2016-08-03 12:15:26 +03:00
Jaex
4dbaa392e6 Override Move in freehand region shape 2016-08-03 12:08:06 +03:00
Jaex
4414ed888e Shape move logic moved to BaseShape from ResizeManager 2016-08-03 12:01:39 +03:00
Jaex
b367bcb747 Disable resize nodes for freehand region 2016-08-03 11:45:12 +03:00
Jaex
fc01094172 Added drag move support to freehand region 2016-08-03 10:09:21 +03:00
Jaex
664b8d1889 Fix freehand quick capture 2016-08-03 09:54:00 +03:00
Jaex
d94e714479 Removed freehand region form 2016-08-03 09:42:32 +03:00
Jaex
8eb62bcb0d Added resx text and icon to freehand region 2016-08-03 09:38:40 +03:00
Jaex
6358f04a31 Removed freehand capture hotkey 2016-08-03 09:32:35 +03:00
Jaex
3a7510d2a2 Calculate freehand rectangle on update, close figure on shape path requested 2016-08-03 08:59:52 +03:00
Jaex
c0ab0507f3 BaseShape refactor, shape update logic moved to BaseShape 2016-08-03 08:35:34 +03:00
Jaex
5c80ba8b94 Adding freehand region support to region capture 2016-08-03 03:48:11 +03:00
Jaex
7eaf8e3cee Dispose regionFillPath in PolygonRegionForm 2016-08-02 11:55:29 +03:00
Jaex
24ada5cc9a Apply region path to image with anti aliasing 2016-08-02 11:29:17 +03:00
Jaex
0a78019274 CodeMaid cleanup 2016-07-30 04:21:18 +03:00
Jaex
6c0849ed5d Added static parse method to CodeMenuEntryPixelInfo class 2016-07-29 20:32:01 +03:00
Jaex
35363e7ac9 Fix magnifier ellipse one off issue, set magnifier pixel size minimum 3 2016-07-27 05:23:35 +03:00
Jaex
651d1601d0 Only draw white square to center pixel in magnifier if pixel is big enough 2016-07-27 05:05:38 +03:00
Jaex
35e0a826b6 Added constant settings to RegionCaptureOptions 2016-07-27 04:56:20 +03:00
Jaex
c57c643d79 Making Screenshot class non static 2016-07-21 17:23:45 +03:00
Jaex
4ccc050e97 fixed #1716: Region capture WASD move/resize support 2016-07-17 09:25:53 +03:00
Jaex
d4a066e77a fixed #1350: Use extension to assign value to numeric up down to respect min/max values 2016-07-14 23:35:23 +03:00
Jaex
6a605705f6 Added more enum descriptions to resources 2016-07-13 19:23:34 +03:00
Jaex
7d465b00b8 Moved enum descriptions to resources 2016-07-13 19:11:47 +03:00
Jaex
abc69b51ee Added remaining strings to resources 2016-07-13 04:14:54 +03:00
Jaex
be5e42d35e Resx update 2016-07-12 03:16:53 +03:00
Jaex
aa72322c9a Don't draw square to cursor if border size is 0 2016-07-07 10:58:04 +03:00
Jaex
ff9584d613 Removed translation link 2016-07-06 12:34:25 +03:00
L1Q
e2a2ae62aa Updated russian translation 2016-07-06 06:46:41 +03:00
Jaex
a2c905a0c8 When switched to drawing mode, draw small square in cursor using border color and size 2016-07-05 08:52:49 +03:00
Jaex
f237ea6255 When drawing shape is selected show border color inside cursor 2016-07-04 14:26:19 +03:00
Jaex
37c4749cd0 Added CreateCursor method 2016-07-04 13:27:31 +03:00
Jaex
b19521bba6 Move WindowInfo to HelpersLib 2016-07-04 08:50:41 +03:00
Alexandre Oliveira
b03b3c0f32
Update brazilian translation 2016-07-01 22:46:27 -03:00
Jaex
40923d9364 Added img-load.de 2016-06-27 17:12:49 +03:00