[Editor] Add some resizers all around an editor (bug 1843302)

- it'll improve the way to resize images: diagonally (in keeping ratio between dimensions)
  or horizontally/vertically.
- the resizer was almost invisible in HCM.
- make a resize undoable/redoable.
This commit is contained in:
Calixte Denizet 2023-07-24 09:49:49 +02:00
parent 71f113bf85
commit 2688bf2ebd
6 changed files with 452 additions and 41 deletions

View file

@ -83,6 +83,8 @@ const AnnotationEditorParamsType = {
INK_COLOR: 11,
INK_THICKNESS: 12,
INK_OPACITY: 13,
INK_DIMS: 14,
STAMP_DIMS: 21,
};
// Permission flags from Table 22, Section 7.6.3.2 of the PDF specification.