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

Side by Side Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_page.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FPDFXFA_PAGEVIEW_H_ 7 #ifndef _FPDFXFA_PAGEVIEW_H_
8 #define _FPDFXFA_PAGEVIEW_H_ 8 #define _FPDFXFA_PAGEVIEW_H_
9 9
10 class CPDFXFA_Page { 10 class CPDFXFA_Page {
(...skipping 25 matching lines...) Expand all
36 void PageToDevice(int start_x, 36 void PageToDevice(int start_x,
37 int start_y, 37 int start_y,
38 int size_x, 38 int size_x,
39 int size_y, 39 int size_y,
40 int rotate, 40 int rotate,
41 double page_x, 41 double page_x,
42 double page_y, 42 double page_y,
43 int* device_x, 43 int* device_x,
44 int* device_y); 44 int* device_y);
45 45
46 void GetDisplayMatrix(CFX_AffineMatrix& matrix, 46 void GetDisplayMatrix(CFX_Matrix& matrix,
47 int xPos, 47 int xPos,
48 int yPos, 48 int yPos,
49 int xSize, 49 int xSize,
50 int ySize, 50 int ySize,
51 int iRotate) const; 51 int iRotate) const;
52 52
53 protected: 53 protected:
54 FX_BOOL LoadPDFPage(); 54 FX_BOOL LoadPDFPage();
55 FX_BOOL LoadXFAPageView(); 55 FX_BOOL LoadXFAPageView();
56 56
57 private: 57 private:
58 CPDF_Page* m_pPDFPage; 58 CPDF_Page* m_pPDFPage;
59 IXFA_PageView* m_pXFAPageView; 59 IXFA_PageView* m_pXFAPageView;
60 int m_iPageIndex; 60 int m_iPageIndex;
61 CPDFXFA_Document* m_pDocument; 61 CPDFXFA_Document* m_pDocument;
62 int m_iRef; 62 int m_iRef;
63 }; 63 };
64 64
65 #endif 65 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698