diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-11-05 21:05:13 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-11-06 08:17:24 +0100 |
commit | 6e921467c411718793422a43fb3e3060fdeaeda9 (patch) | |
tree | 9f4c633764f93c1837befc55ee10b4f7a21876ea /include | |
parent | 686a032f82d0b0ecb7982b5dece75eb4b3afa762 (diff) |
pdfium: add FPDFBitmap_GetBuffer/Stride wrappers
Change-Id: I7013e0870868017f72a8053bfe53491504f811e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105379
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/PDFiumLibrary.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 84cfccae2aa2..eb5cf3b9c769 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -26,6 +26,7 @@ #include <tools/color.hxx> #include <tools/gen.hxx> #include <vcl/checksum.hxx> +#include <vcl/Scanline.hxx> #include <vcl/pdf/PDFAnnotationSubType.hxx> #include <fpdf_doc.h> @@ -78,6 +79,8 @@ public: FPDF_BITMAP getPointer() { return mpBitmap; } void fillRect(int left, int top, int width, int height, sal_uInt32 nColor); void renderPageBitmap(PDFiumPage* pPage, int nStartX, int nStartY, int nSizeX, int nSizeY); + ConstScanline getBuffer(); + int getStride(); }; class VCL_DLLPUBLIC PDFiumAnnotation final |