Commit graph

239 commits

Author SHA1 Message Date
Jaex 568991cb45 Added gradient color support to Text (Outline) tool 2018-06-18 16:53:59 +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 c932226956 fixed #3304: When pasting image, inserting image file or inserting image from screen show insert image dialog which allows automatically expanding canvas to bottom or right side and inserting image there 2018-04-16 14:50:19 +03:00
Jaex eb2aa5a1e2 Move auto resize canvas method to shape manager 2018-04-13 16:07:42 +03:00
Jaex 215d10006f When calculating new canvas size consider all image rectangles 2018-04-13 15:52:29 +03:00
Jaex 5bfbc07818 #3304: After move image if image is outside canvas then resize canvas to fit image 2018-04-13 14:56:35 +03:00
Jaex e2ebf2afc3 Holding Ctrl will ignore shape intersection that way user can draw rectangle inside rectangle without select it 2018-04-09 12:10:19 +03:00
Jaex 4519630950 Fix dialog related issues 2018-03-16 22:46:34 +03:00
Jaex c33bc4844f CodeMaid cleanup 2018-03-01 01:52:11 +03:00
Jaex 8f81068e07 Holding ctrl while using image file tool will use last image file instead of opening file dialog 2018-02-22 13:27:54 +03:00
Jaex 677ed9f95d Holding ctrl while using sticker tool will use last sticker instead of opening sticker picker 2018-02-22 02:11:18 +03:00
Jaex 3467f36b8d Added quick sticker mode 2018-02-15 00:04:00 +03:00
Jaex 40afd4a59f Round image resize values 2018-02-12 16:12:26 +03:00
Jaex db98bf7321 Keep aspect ratio while resizing sticker 2018-02-08 11:16:19 +03:00
Jaex 7b6b40d112 Remember selected sticker pack 2018-02-07 15:03:45 +03:00
Jaex ee96cd98fb Move sticker with arrow keys instead of resizing it 2018-02-07 13:50:58 +03:00
Jaex 0bed292339 Allow double click sticker edit 2018-02-07 13:45:56 +03:00
Jaex 9536a37dbc Added sticker packs option 2018-02-06 13:16:42 +03:00
Jaex 7f5d448c4c Use ImageEditorInterpolationMode.NearestNeighbor for sticker 2018-02-06 12:59:10 +03:00
Jaex 4e7b076719 Remember sticker size 2018-02-06 12:39:42 +03:00
Jaex 026e2fa9c9 Added sticker tool 2018-02-06 11:25:15 +03:00
Jaex 38897b6a53 Added shadow color option 2018-01-30 20:14:28 +03:00
Jaex 232fe756da Inherit ImageDrawingShape in other image drawing shapes 2018-01-09 15:15:57 +03:00
Jaex 9d74081df5 Fix image pixel offset 2018-01-06 08:37:18 +03:00
Jaex 95ca97b4f0 Added image interpolation mode option to image editor 2018-01-06 08:30:04 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex 4971d98b45 Added step label use letters option 2017-12-27 17:48:51 +03:00
Jaex 08579e83bd Use form for ShowDialog 2017-12-26 16:54:10 +03:00
Jaex b6755df7af Added BaseTool which will limit only single tool to be visible on screen and auto clear it when changing tool 2017-12-12 18:17:38 +03:00
Jaex 439ce0c2ed Change font size unit 2017-12-07 23:21:55 +03:00
Jaex d37fc01726 Added font size option to step tool 2017-12-07 23:17:36 +03:00
Jaex 8d41315c47 Added proportional resizing with resize node support 2017-11-20 21:25:18 +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 20fe02f41c More rectangle usage 2017-11-16 09:36:21 +03:00
Jaex 6a072fa079 Set rectangle instead of start/end positions 2017-11-16 09:02:27 +03:00
Jaex 18cbe0b72c Added RectangleInsideCanvas property 2017-11-14 15:05:12 +03:00
Jaex 763eb85d3c TopMost false for text input form, image size form, canvas size form 2017-11-12 10:32:55 +03:00
Jaex 69d57b07bd Only draw two arrows if two arrows not collide with each other to avoid GDI related bug 2017-11-09 19:55:37 +03:00
L1Q b9d1b150c6 Fix image from file shape created with 0 size 2017-11-07 19:08:52 +02:00
L1Q b902e33593 Fix shapes being 1px bigger 2017-11-07 19:06:35 +02: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 255f9f99e2 Allow creating empty text box 2017-10-30 10:43:21 +03:00
Jaex 6d324d3f1a Increase text padding because resize nodes are bigger now 2017-10-17 21:39:23 +03:00
Jaex 4ee76af0ea Added custom circle resize node 2017-09-30 17:08:40 +03:00
Jaex e207c181e0 Added cursor type option to cursor drawing tool 2017-08-20 21:10:47 +03:00
Jaex 898daf4cc5 Revert "Added cursor type option to cursor drawing tool"
This reverts commit 92ff416ab6.
2017-08-14 09:46:54 +03:00
Jaex 92ff416ab6 Added cursor type option to cursor drawing tool 2017-08-13 14:07:52 +03:00
Jaex 8f1f41d23f fixed #2661: Added arrow heads in both side option to arrow drawing tool 2017-08-02 19:11:12 +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 f83816d19a Store cursor as bitmap because masking already not working 2017-07-20 23:27:03 +03:00
Jaex e3175ba48e Removed resize nodes from cursor tool to make moving cursor more easier 2017-07-18 15:58:07 +03:00
Jaex a4dabaea44 When cursor tool selected, show borders around all cursors to make it obvious those cursors moveable 2017-07-18 14:59:59 +03:00
Jaex a77159db51 Allow resizing cursor, create arrow cursor when clicked on empty space 2017-07-17 22:07:29 +03:00
Jaex 7f5b138548 #1009: Adding cursor tool to region capture toolbar which gonna allow moving/deleting cursor 2017-07-17 21:48:42 +03:00
Jaex 038575582a Draw shadow even when border is not visible 2017-06-14 17:28:22 +03:00
Jaex f7bb2f8aff Limit crop and image (screen) region selection to image rectangle 2017-05-28 12:32:09 +03:00
Jaex 2766db8daf In freehand drawing only use high quality when rendering output 2017-05-26 09:10:37 +03:00
Jaex a79f44156f Decrease quality of image rendering on region capture but use high quality while rendering output image 2017-05-24 01:53:57 +03:00
Jaex 84d8997cfd Fix crop image in multi monitor 2017-05-23 17:29:02 +03:00
Jaex b85a1b3efa Don't change position of duplicated image to allow blur outside of region type of effects 2017-05-19 08:53:18 +03:00
Jaex f1a5f77ccc Also hide line/arrow resize nodes 2017-05-12 10:36:20 +03:00
Jaex a9529b1802 Check for valid rectangle 2017-05-09 02:38:37 +03:00
Jaex ec86bd5bdf Added "Image (Screen)" drawing tool which allows duplicating image from screen 2017-05-06 23:53:46 +03:00
Jaex 67a218bee9 fixed #2479: Added crop tool to annotation 2017-04-30 15:54:11 +03:00
Jaex f7c0a9f934 CodeMaid cleanup 2017-03-30 00:03:08 +03:00
Jaex 01682b0e3e Calculate proper font size for AddString 2017-02-17 23:23:19 +03:00
Jaex b66f09f9dc Add resource text for ShapeType 2017-02-17 23:06:20 +03:00
Jaex fd5ffbfab4 Added Text (Outline) to toolbar 2017-02-16 03:49:13 +03:00
Jaex d6755cd1f9 Adding text drawing outline mode 2017-02-15 00:12:38 +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 e07d4cb036 Removed rounded rectangle region and drawing instead rectangle have corner radius option
Changes to annotation options default values
2016-11-30 18:17:12 +03:00
Jaex b417d31c0c Show color picker crosshair by default 2016-11-30 16:01:12 +03:00
Jaex 35335e0d43 Added drop shadow option to region capture toolbar 2016-11-30 00:11:39 +03:00
Jaex 9000cf31a7 Added speech balloon shadow 2016-11-29 23:23:34 +03:00
Jaex 58a6707635 Added step & speech balloon text shadow 2016-11-29 23:06:54 +03:00
Jaex a6192aa76a Added step shadow 2016-11-29 22:47:53 +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 5e14b35eb7 Added freehand shadow 2016-11-29 20:02:01 +03:00
Jaex efe88bde57 Added ellipse shadow 2016-11-29 19:52:07 +03:00
Jaex f28e913a11 Added rectangle & rounded rectangle drawing drop shadow support 2016-11-29 19:24:41 +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 e4d388c61f Use Move to shift all shapes, override move method to move speech balloon tail 2016-09-05 19:27:35 +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 84b25135fb Removed corner radius setting from rectangle drawing, don't override OnDraw in rounded rectangle shape to use rectangle shape with corner radius assigned, don't show corner radius setting for speech balloon until it can be resolved 2016-09-03 11:26:02 +03:00
Jaex 749bf6e3f0 Use DrawLines method instead of AddLine loop 2016-09-02 19:53:53 +03:00
Jaex c483491611 Added corner radius setting to rectangle and text drawing, dynamic pixel offset mode depending on border size to fix anti aliasing issues 2016-09-02 18:48:03 +03:00
Jaex d3271e597b Added shape category 2016-09-02 10:09:24 +03:00
Jaex b0b4cf86d2 Store tail position separately 2016-08-31 03:14:24 +03:00
Jaex 9e645c07fb Instead of using static tail width for speech balloon, using multiplier so it can scale correctly 2016-08-31 02:45:15 +03:00