[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.
This commit is contained in:
Calixte Denizet 2023-11-17 18:54:26 +01:00
parent d8424a43ba
commit 31d9b9f574
11 changed files with 777 additions and 12 deletions

View file

@ -34,6 +34,7 @@ const {
CMapCompressionType,
createValidAbsoluteUrl,
DOMSVGFactory,
DrawLayer,
FeatureTest,
fetchData,
getDocument,
@ -49,6 +50,7 @@ const {
noContextMenu,
normalizeUnicode,
OPS,
Outliner,
PasswordResponses,
PDFDataRangeTransport,
PDFDateString,
@ -80,6 +82,7 @@ export {
CMapCompressionType,
createValidAbsoluteUrl,
DOMSVGFactory,
DrawLayer,
FeatureTest,
fetchData,
getDocument,
@ -95,6 +98,7 @@ export {
noContextMenu,
normalizeUnicode,
OPS,
Outliner,
PasswordResponses,
PDFDataRangeTransport,
PDFDateString,