diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-10-14 22:54:38 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-10-15 15:41:22 +0200 |
commit | 342e427d33af0d4bfa694248e7a47fdf1f7f270d (patch) | |
tree | d0e4d69fd3b2bf746e6f85998668b968507b1a24 /include | |
parent | c43e4005e7b0f19920a3e50120298391251cf8af (diff) |
pdfium: add support for border property of PDF annotations
This extends PDFium with readon of "Border" property from the
PDF annotations and adds the API to PDFium wrapper.
Border is mostly used for border (line) width and the radius of
rounding of the border (for drawing a rounded rectangle for
example).
Change-Id: I03f189eee03155ec699b2f56ceed23e6839a3f03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104361
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/PDFiumLibrary.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 22602558d0d2..8e8cba1782e6 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -96,6 +96,8 @@ public: std::vector<basegfx::B2DPoint> getVertices(); Color getColor(); Color getInteriorColor(); + float getBorderWidth(); + basegfx::B2DSize getBorderCornerRadius(); }; class PDFiumPage; |