Commit graph

239 commits

Author SHA1 Message Date
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
Jaex 51d72b6a4e Use round caps for freehand pen 2016-08-17 02:33:53 +03:00
Jaex 4b0a323c9c Allow moving freehand drawing 2016-08-15 03:55:44 +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 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 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 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 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 c0ab0507f3 BaseShape refactor, shape update logic moved to BaseShape 2016-08-03 08:35:34 +03:00
Jaex 0a78019274 CodeMaid cleanup 2016-07-30 04:21:18 +03:00
Jaex 4db775f8e0 Decrease font size for 3 digits step label 2016-05-25 22:34:30 +03:00
Jaex e23f10deb2 Use border color for step label text color 2016-05-25 22:29:25 +03:00
Jaex b2bc0a634d Changed step label font because with Arial text was not centered correctly 2016-05-25 00:11:24 +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 8af49b0a51 Added default colors for step tool 2016-05-23 18:31:22 +03:00
Jaex ebdcc7273d Fit two digit numbers to step label 2016-05-23 02:53:10 +03:00
Jaex b131585a9d Step label create with default size and move it 2016-05-22 23:19:13 +03:00
Jaex 70300cdd8f Adding step drawing 2016-05-22 22:19:25 +03:00
Jaex 63c685bf1d Use anti aliasing for text drawing 2016-05-22 22:11:34 +03:00
Jaex 1233a7e29c Removed DrawFinal from BaseDrawing, renamed Draw to OnDraw 2016-05-21 15:26:49 +03:00
Jaex 50a715daba Fix text drawing 2016-05-21 00:09:31 +03:00
Jaex de14669306 In context menu updated selected control options properly 2016-05-21 00:09:09 +03:00
Jaex fa2c5c73c3 Adding border color, border size, fill color specific to text drawing 2016-05-20 23:19:07 +03:00
Jaex 67f69559fc Don't draw text if rectangle is too small 2016-05-20 21:34:20 +03:00
Jaex 6cf94d9cf8 base.UpdateShapeConfig needed in RoundedRectangleDrawingShape 2016-05-20 20:41:49 +03:00
Jaex 9e35ee9591 Created AnnotationOptions class 2016-05-20 20:34:45 +03:00
Jaex 55c3087892 Added UpdateShapeConfig method so shapes can update their own config 2016-05-20 20:01:00 +03:00
Jaex 428dabe972 Clone text options for each new text drawing and when text options changed apply it to main options 2016-05-20 19:07:29 +03:00
Jaex 110d1eede0 Allow border size 0 for fill color only shapes 2016-05-20 18:49:38 +03:00
Jaex c52eb0cdc8 Don't save text inside options 2016-05-20 18:45:55 +03:00
Jaex 93caa9a549 Created TextDrawingOptions class 2016-05-20 17:11:48 +03:00
Jaex 42cd1e36a5 Added horizontal and vertical alignment options to text drawing 2016-05-20 16:44:56 +03:00
Jaex 60016ecd9f Added font selection to input box 2016-05-20 03:47:04 +03:00
Jaex 54d4633f0f Added bold, italic, underline options to input box 2016-05-20 02:53:45 +03:00
Jaex 29189deb38 Added custom input box for text drawing 2016-05-20 01:57:49 +03:00
Jaex f2c7257a36 Use border color for text color, before double click event stop moving 2016-05-20 01:30:20 +03:00
Jaex 18dc27b166 Added text drawing support to region capture 2016-05-20 01:13:19 +03:00
Jaex c5e601a34d Added BaseEffectShape 2016-05-11 01:17:51 +03:00
Jaex 0e7ba6cbe9 Draw blur radius and pixel size inside region 2016-05-10 01:50:20 +03:00
Jaex 8289dc21ea Rename AreaManager to ShapeManager 2016-05-09 21:57:40 +03:00
Jaex 88ecf435c7 Added corner lines to blur, pixelate, highlight 2016-05-09 01:34:15 +03:00
Jaex 562d3192d3 Added highlight color option 2016-05-07 17:03:26 +03:00
Jaex cd2cbbabc2 Added corner radius, blur radius, pixel size options to menu. Removed corner radius hotkey because now it is changeable from menu. Numpad hotkey changes to fit all drawings. 2016-05-07 16:24:32 +03:00
Jaex 431b733fae Give previous result to DrawOutput instead of SurfaceImage so effects can be applied to top of each other 2016-05-07 03:28:58 +03:00
Jaex d7d65a3946 Added highlight drawing 2016-05-07 03:11:31 +03:00
Jaex da9077b6c1 Remember blur radius and pixel size 2016-05-06 20:24:39 +03:00
Jaex 520e2b85cb Added Pixelate drawing shape 2016-05-06 20:04:24 +03:00
Jaex 7cfc326f79 Added simple blur drawing shape which renders blur only in output 2016-05-06 19:55:16 +03:00
Jaex 265a37fbd4 UpdateShape on rounded rectangle radius change, check color transparency properly 2016-05-06 16:02:46 +03:00
Jaex d763c0475f Update current shape after shape options changed 2016-05-06 14:48:50 +03:00
Jaex c4f7268106 Show two circle nodes for line and arrow selection 2016-05-06 01:15:41 +03:00
Jaex 90bb7e8b99 Added ellipse drawing 2016-05-05 20:42:56 +03:00
Jaex a9b446e15e Added line drawing 2016-05-05 20:03:57 +03:00
Jaex 18feef96c7 Added arrow drawing support, it is not possible to resize with nodes yet 2016-05-05 19:43:42 +03:00
Jaex 7c9f37b33a Using anti aliasing in rounded rectangle 2016-05-03 22:03:55 +03:00
Jaex 42fb490c4c Added shadow to rectangle drawing 2016-05-03 20:58:18 +03:00
Jaex 09fdffc32d Only allow selection and moving shapes if current shape is same as selected shape that way you can do region capture top of drawings without select drawing shape 2016-05-03 14:06:15 +03:00
Jaex a568e98617 Show nodes on drawing shapes, added border size 2016-05-03 13:48:37 +03:00
Jaex db15ee55cb Interim commit for shape drawing 2016-05-03 13:06:58 +03:00
Jaex 0709035daf Interim commit for region capture drawing support and shape system, currently just made it compile and will require many changes to support drawing shapes 2016-05-03 10:46:45 +03:00