sd: support square and circle PDF annot. as custom marker

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 18 October 2020 19:21 UTC

Use the existing polygon code paths, but convert a ellipse or the rectangle to the polygon, and add that as a custom marker for the annotation.

Change-Id: I8f8657b868f2c410a3f604dcc1e609f4c6a12638 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104366

fb3965470a79 sd: support square and circle PDF annot. as custom marker
include/vcl/pdf/PDFAnnotationMarker.hxx | 8 ++++++++
sd/source/filter/pdf/sdpdffilter.cxx | 25 +++++++++++++++++++++++++
vcl/source/filter/ipdf/pdfread.cxx | 20 +++++++++++++++++++-
3 files changed, 52 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share