diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-01-14 21:20:31 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-01-15 08:35:11 +0100 |
commit | 97601533cbef67bfdb5f25dc00d0dda743e8349e (patch) | |
tree | 6eae76971eeff1980c6f82289055b708e6f20621 /include/vcl/filter/PDFiumLibrary.hxx | |
parent | 61a3aaae61dfb6d9538eeeed4721d44293d737f4 (diff) |
pdfium: add wrapper for FPDF_FILLMODE_* defines
Which is, I think, the last direct pdfium usage outside vcl.
Change-Id: I2e435e5a3669c6163bf2c20bc6d1d8bd4c88cecd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109314
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/vcl/filter/PDFiumLibrary.hxx')
-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 eee97e39bf9a..79f91c6f5264 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -35,6 +35,7 @@ #include <vcl/pdf/PDFBitmapType.hxx> #include <vcl/pdf/PDFObjectType.hxx> #include <vcl/pdf/PDFTextRenderMode.hxx> +#include <vcl/pdf/PDFFillMode.hxx> #include <fpdf_doc.h> @@ -154,6 +155,7 @@ public: std::unique_ptr<PDFiumPathSegment> getPathSegment(int index); Size getImageSize(PDFiumPage& rPage); std::unique_ptr<PDFiumBitmap> getImageBitmap(); + bool getDrawMode(PDFFillMode& eFillMode, bool& bStroke); }; class VCL_DLLPUBLIC PDFiumTextPage final |