summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_pathobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_pathobject.h')
-rw-r--r--core/fpdfapi/page/cpdf_pathobject.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_pathobject.h b/core/fpdfapi/page/cpdf_pathobject.h
index 0a1e4d01f9..dd4cd55a79 100644
--- a/core/fpdfapi/page/cpdf_pathobject.h
+++ b/core/fpdfapi/page/cpdf_pathobject.h
@@ -27,9 +27,14 @@ class CPDF_PathObject final : public CPDF_PageObject {
void CalcBoundingBox();
+ const CFX_Matrix& matrix() const { return m_Matrix; }
+ void set_matrix(const CFX_Matrix& matrix) { m_Matrix = matrix; }
+
CPDF_Path m_Path;
- int m_FillType;
- bool m_bStroke;
+ int m_FillType = 0;
+ bool m_bStroke = false;
+
+ private:
CFX_Matrix m_Matrix;
};