diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-10-15 11:22:07 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-10-18 21:21:18 +0200 |
commit | 560d3b95840221fe9661d46682af7c4ce897193b (patch) | |
tree | 48b8e741d128d33d43148fb4668084140b5a2cc3 /include | |
parent | fb3965470a79d5b45bd211e9f95775c75e793cc8 (diff) |
sd: support ink PDF annot. as custom marker
Ink PDF annotation is similar to a set of polylines (or freehand
drawing), so we can again just reuse the polygon code paths. The
difference to the polygon is that the polygon is closed.
Change-Id: I99641dccc0b2f9f2d3ebf2c71d3e20f8b1d0a485
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104367
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/pdf/PDFAnnotationMarker.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/pdf/PDFAnnotationMarker.hxx b/include/vcl/pdf/PDFAnnotationMarker.hxx index 4cf088dc1b8e..f2841b09db6c 100644 --- a/include/vcl/pdf/PDFAnnotationMarker.hxx +++ b/include/vcl/pdf/PDFAnnotationMarker.hxx @@ -35,6 +35,11 @@ struct VCL_DLLPUBLIC PDFAnnotationMarkerSquare : public PDFAnnotationMarker { }; +struct VCL_DLLPUBLIC PDFAnnotationMarkerInk : public PDFAnnotationMarker +{ + std::vector<basegfx::B2DPolygon> maStrokes; +}; + struct VCL_DLLPUBLIC PDFAnnotationMarkerPolygon : public PDFAnnotationMarker { basegfx::B2DPolygon maPolygon; |