Commit graph

116 commits

Author SHA1 Message Date
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
Jaex e14b6f20ea Fix border issue 2016-08-25 02:57:02 +03:00
Jaex 6c29817c50 Handle speech balloon border drawing issues 2016-08-24 22:18:54 +03:00
Jaex 053745a66b Only draw tail if it is required 2016-08-24 20:11:09 +03:00
Jaex ee5849ec53 Clip balloon rectangle while drawing tail 2016-08-24 19:50:27 +03:00
Jaex 871b583da2 Draw tail in speech balloon but still unable to figure out how to union both rectangle and tail 2016-08-24 19:23:49 +03:00
Jaex 141993b5db Adding SpeechBalloonDrawingShape interim commit 2016-08-24 18:34:02 +03:00
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 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 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 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