Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: fpdfsdk/include/fsdk_mgr.h

Issue 1519693002: Merge to XFA: Remove CFX_AffineMatrix/CPDF_Matrix (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: XFA-specific changes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fpdfsdk/include/fsdk_mgr.h
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h
index 385cfdbbff7267d89c63d41d7e64fb678a696564..d0da678d3441e68f3cd1034cb3df1212c884c2f7 100644
--- a/fpdfsdk/include/fsdk_mgr.h
+++ b/fpdfsdk/include/fsdk_mgr.h
@@ -567,12 +567,12 @@ class CPDFSDK_PageView final {
#ifdef PDF_ENABLE_XFA
void PageView_OnDraw(CFX_RenderDevice* pDevice,
- CPDF_Matrix* pUser2Device,
+ CFX_Matrix* pUser2Device,
CPDF_RenderOptions* pOptions,
const FX_RECT& pClip);
#else // PDF_ENABLE_XFA
void PageView_OnDraw(CFX_RenderDevice* pDevice,
- CPDF_Matrix* pUser2Device,
+ CFX_Matrix* pUser2Device,
CPDF_RenderOptions* pOptions);
#endif // PDF_ENABLE_XFA
@@ -626,7 +626,7 @@ class CPDFSDK_PageView final {
const CPDF_Point& point,
int nFlag);
bool IsValidAnnot(const CPDF_Annot* p) const;
- void GetCurrentMatrix(CPDF_Matrix& matrix) { matrix = m_curMatrix; }
+ void GetCurrentMatrix(CFX_Matrix& matrix) { matrix = m_curMatrix; }
void UpdateRects(CFX_RectArray& rects);
void UpdateView(CPDFSDK_Annot* pAnnot);
const std::vector<CPDFSDK_Annot*>& GetAnnotList() const {
@@ -647,7 +647,7 @@ class CPDFSDK_PageView final {
void PageView_OnHighlightFormFields(CFX_RenderDevice* pDevice,
CPDFSDK_Widget* pWidget);
- CPDF_Matrix m_curMatrix;
+ CFX_Matrix m_curMatrix;
UnderlyingPageType* m_page;
nonstd::unique_ptr<CPDF_AnnotList> m_pAnnotList;
std::vector<CPDFSDK_Annot*> m_fxAnnotArray;

Powered by Google App Engine
This is Rietveld 408576698