diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_iconfit.h')
-rw-r--r-- | core/fpdfdoc/cpdf_iconfit.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/fpdfdoc/cpdf_iconfit.h b/core/fpdfdoc/cpdf_iconfit.h index e6aafb62e1..7c27d6f145 100644 --- a/core/fpdfdoc/cpdf_iconfit.h +++ b/core/fpdfdoc/cpdf_iconfit.h @@ -7,6 +7,7 @@ #ifndef CORE_FPDFDOC_CPDF_ICONFIT_H_ #define CORE_FPDFDOC_CPDF_ICONFIT_H_ +#include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_system.h" #include "core/fxcrt/unowned_ptr.h" @@ -20,10 +21,10 @@ class CPDF_IconFit { CPDF_IconFit(const CPDF_IconFit& that); ~CPDF_IconFit(); - ScaleMethod GetScaleMethod(); - bool IsProportionalScale(); - void GetIconPosition(float& fLeft, float& fBottom); - bool GetFittingBounds(); + ScaleMethod GetScaleMethod() const; + bool IsProportionalScale() const; + CFX_PointF GetIconBottomLeftPosition() const; + bool GetFittingBounds() const; const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } private: |