From a78ba6043eafc9fd05481e64c37002b487357bbf Mon Sep 17 00:00:00 2001 From: thestig Date: Wed, 23 Nov 2016 15:25:48 -0800 Subject: Add FPDF_RenderPageBitmapWithMatrix API. BUG=pdfium:522 Review-Url: https://codereview.chromium.org/2526473002 --- core/fpdfdoc/cpdf_annotlist.cpp | 6 +++--- core/fpdfdoc/cpdf_annotlist.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'core/fpdfdoc') diff --git a/core/fpdfdoc/cpdf_annotlist.cpp b/core/fpdfdoc/cpdf_annotlist.cpp index e68e08a1f6..1ad6ab23a6 100644 --- a/core/fpdfdoc/cpdf_annotlist.cpp +++ b/core/fpdfdoc/cpdf_annotlist.cpp @@ -106,7 +106,7 @@ void CPDF_AnnotList::DisplayPass(CPDF_Page* pPage, CFX_RenderDevice* pDevice, CPDF_RenderContext* pContext, bool bPrinting, - CFX_Matrix* pMatrix, + const CFX_Matrix* pMatrix, bool bWidgetPass, CPDF_RenderOptions* pOptions, FX_RECT* clip_rect) { @@ -156,7 +156,7 @@ void CPDF_AnnotList::DisplayAnnots(CPDF_Page* pPage, CFX_RenderDevice* pDevice, CPDF_RenderContext* pContext, bool bPrinting, - CFX_Matrix* pUser2Device, + const CFX_Matrix* pUser2Device, uint32_t dwAnnotFlags, CPDF_RenderOptions* pOptions, FX_RECT* pClipRect) { @@ -173,7 +173,7 @@ void CPDF_AnnotList::DisplayAnnots(CPDF_Page* pPage, void CPDF_AnnotList::DisplayAnnots(CPDF_Page* pPage, CPDF_RenderContext* pContext, bool bPrinting, - CFX_Matrix* pMatrix, + const CFX_Matrix* pMatrix, bool bShowWidget, CPDF_RenderOptions* pOptions) { uint32_t dwAnnotFlags = bShowWidget ? ANNOTFLAG_INVISIBLE | ANNOTFLAG_HIDDEN diff --git a/core/fpdfdoc/cpdf_annotlist.h b/core/fpdfdoc/cpdf_annotlist.h index e17b958517..3443277b68 100644 --- a/core/fpdfdoc/cpdf_annotlist.h +++ b/core/fpdfdoc/cpdf_annotlist.h @@ -28,7 +28,7 @@ class CPDF_AnnotList { void DisplayAnnots(CPDF_Page* pPage, CPDF_RenderContext* pContext, bool bPrinting, - CFX_Matrix* pMatrix, + const CFX_Matrix* pMatrix, bool bShowWidget, CPDF_RenderOptions* pOptions); @@ -36,7 +36,7 @@ class CPDF_AnnotList { CFX_RenderDevice* pDevice, CPDF_RenderContext* pContext, bool bPrinting, - CFX_Matrix* pMatrix, + const CFX_Matrix* pMatrix, uint32_t dwAnnotFlags, CPDF_RenderOptions* pOptions, FX_RECT* pClipRect); @@ -52,7 +52,7 @@ class CPDF_AnnotList { CFX_RenderDevice* pDevice, CPDF_RenderContext* pContext, bool bPrinting, - CFX_Matrix* pMatrix, + const CFX_Matrix* pMatrix, bool bWidget, CPDF_RenderOptions* pOptions, FX_RECT* clip_rect); -- cgit v1.2.3