office-gobmx/basegfx
Regina Henschel 44c0f2da56 tdf#112687 Simplify polylines from slideshow annotations
Drawing with 'mouse as pen' in a slideshow creates hundreds of points.
By commit 631964a2ce they are at least
already combines to a polyline. The patch here now reduces the amount
of points in such polyline to a reasonable number. If at some point the
drawings in the slideshow are improved, this can be removed.

The reduction is performed using the Douglas-Peucker algorithm. I have
added the method to b2dpolygontools because I think it could be useful in
other contexts.

Change-Id: I9224ec3546d4442da8bc348aea8ce7b88fcc46dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155811
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2023-08-24 17:54:46 +02:00
..
inc/pch Make sal/config.h the first in pch 2021-03-09 06:51:51 +01:00
qa
source tdf#112687 Simplify polylines from slideshow annotations 2023-08-24 17:54:46 +02:00
test tdf#99562: Do not ignore last column from matrix 2023-07-10 13:52:56 +02:00
CppunitTest_basegfx.mk basegfx: replace typedef with a class B2DSize based on Size2D 2022-09-11 17:16:59 +02:00
IwyuFilter_basegfx.yaml replace usage of blacklist with excludelist for IWYU 2020-07-10 02:03:40 +02:00
Library_basegfx.mk MCGR: consolidations/cleanups for changes so far 2023-05-15 15:19:53 +02:00
Makefile
Module_basegfx.mk
README.md Updated README.md files 2021-04-19 11:13:41 +02:00

Algorithms and Data Types for Graphics

Algorithms and data types for graphics (e.g. polygons, vectors, matrices and the like - see that used in canvas).