summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa/cpdfxfa_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_page.h')
-rw-r--r--fpdfsdk/fpdfxfa/cpdfxfa_page.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_page.h b/fpdfsdk/fpdfxfa/cpdfxfa_page.h
index bdb4791c87..0acec981c6 100644
--- a/fpdfsdk/fpdfxfa/cpdfxfa_page.h
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_page.h
@@ -9,16 +9,15 @@
#include <memory>
+#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/unowned_ptr.h"
-class CFX_Matrix;
class CPDFXFA_Context;
class CPDF_Dictionary;
class CPDF_Page;
class CXFA_FFPageView;
-struct FX_RECT;
class CPDFXFA_Page : public Retainable {
public:
@@ -39,19 +38,12 @@ class CPDFXFA_Page : public Retainable {
float GetPageWidth() const;
float GetPageHeight() const;
- void DeviceToPage(int start_x,
- int start_y,
- int size_x,
- int size_y,
+ void DeviceToPage(const FX_RECT& rect,
int rotate,
- int device_x,
- int device_y,
+ const CFX_PointF& device_point,
double* page_x,
double* page_y);
- void PageToDevice(int start_x,
- int start_y,
- int size_x,
- int size_y,
+ void PageToDevice(const FX_RECT& rect,
int rotate,
double page_x,
double page_y,