diff options
Diffstat (limited to 'core/fpdfapi/page/cpdf_imageobject.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_imageobject.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_imageobject.h b/core/fpdfapi/page/cpdf_imageobject.h index fd99d3d612..2bb1e8233d 100644 --- a/core/fpdfapi/page/cpdf_imageobject.h +++ b/core/fpdfapi/page/cpdf_imageobject.h @@ -32,11 +32,13 @@ class CPDF_ImageObject : public CPDF_PageObject { void SetOwnedImage(std::unique_ptr<CPDF_Image> pImage); void SetUnownedImage(CPDF_Image* pImage); - CFX_Matrix m_Matrix; + void set_matrix(const CFX_Matrix& matrix) { m_Matrix = matrix; } + const CFX_Matrix& matrix() const { return m_Matrix; } private: void Release(); + CFX_Matrix m_Matrix; CPDF_Image* m_pImage; bool m_pImageOwned; }; |