Commit graph

53 commits

Author SHA1 Message Date
Eric Tetz 5f7c9096e0
Switch to floating point internally. Panning fixes. (#6108)
* Switch to floating point internally. Panning fixes.

* Fix panning/zoom coordination errors.
2022-02-20 09:30:39 +03:00
Eric Tetz 2ee7843393 First pass at adding zoom to image editor, via CTRL+mouse wheel. 2022-01-31 18:01:18 -07:00
Jaex 8c3dc0b78c Update year 2022-01-11 19:32:17 +03:00
Jaex 837ef0a7fc Update year 2021-07-29 06:22:51 +03:00
Jaex 803a4e567c Update year 2020-02-05 10:19:48 +03:00
Jaex 469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex 8fe31bf279 Added "Use light resize nodes" option to region capture 2018-08-29 17:49:50 +03:00
Jaex dcbe2ab4fe #2955: Support old resize node style 2018-08-23 13:20:55 +03:00
Jaex b463a16567 Update year 2018-01-01 17:59:14 +03: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 4d7006b359 Update year 2017-01-11 11:39:40 +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 892deb11fa fixed #1969: In freehand region if there is only two points then use AddLine instead of AddPolygon 2016-10-03 00:50: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 1d24e205b2 Use AddPolygon method instead of AddLine loop 2016-09-02 20:02:06 +03:00
Jaex d3271e597b Added shape category 2016-09-02 10:09:24 +03:00
Jaex 0017bbfc73 Rename classes 2016-08-17 11:35:06 +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 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 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 5829085cb6 Moved node logic to BaseShape 2016-08-05 16:35:44 +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 881a3c22da Don't allow freehand resize 2016-08-03 12:19:01 +03:00
Jaex 4dbaa392e6 Override Move in freehand region shape 2016-08-03 12:08:06 +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 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 0a78019274 CodeMaid cleanup 2016-07-30 04:21:18 +03:00
Jaex de14669306 In context menu updated selected control options properly 2016-05-21 00:09:09 +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 c5e601a34d Added BaseEffectShape 2016-05-11 01:17:51 +03:00
Jaex d763c0475f Update current shape after shape options changed 2016-05-06 14:48:50 +03:00
Jaex 1633d4100e Removed triangle and diamond region capture, added hotkey for rest of drawing types 2016-05-05 21:14:44 +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