Calixte Denizet
750b8e328a
[Editor] Ends a free highlight where the mouse pointer is (bug 1879281)
2024-02-12 17:26:33 +01:00
Calixte Denizet
7529c1e3dc
[Editor] Fix the position of the free highlight toolbar
2024-01-30 15:40:33 +01:00
Calixte Denizet
2b8ecf5688
[Editor] Add the possibility to change the thickness of a free highlight (bug 1876096)
2024-01-24 22:04:39 +01:00
Calixte Denizet
d64f334f98
[Editor] Add support for printing/saving free highlight annotations
2024-01-19 12:58:46 +01:00
Calixte Denizet
8fbfef0c07
[Editor] Add the ability to make a free highlight (i.e. without having to select some text) (bug 1856218)
...
The free highlighting is enabled when the mouse pointer isn't on some text.
Then we draw a shape with smoothed borders corresponding to the movement of
the mouse.
Printing/saving and changing the thickness will come later.
2024-01-18 16:26:04 +01:00
Calixte Denizet
ee72b32dc2
[Editor] Slightly simplify the serialization of an highlight annotation
...
We were computing width and height of the annotation before serializing
which is useless because the rect already contains this information.
2024-01-15 18:22:01 +01:00
Calixte Denizet
fc7c320bd8
[Editor] Correctly serialize highlight data (regression from #17499 )
2024-01-12 15:37:01 +01:00
Calixte Denizet
94ad3afab6
[Editor] Move the code to generate the SVG path from draw_layer.js to outliner.js
...
It'll be useful to avoid too much duplicated code when adding the free highlighting tool.
2024-01-11 19:10:33 +01:00
Calixte Denizet
31d9b9f574
[Editor] Add a way to extract the outlines of a union of rectangles
...
The goal is to be able to get these outlines to fill the shape corresponding
to a text selection in order to highlight some text contents.
The outlines will be used either to show selected/hovered highlights.
2023-11-20 18:45:19 +01:00