diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-24 18:44:55 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-24 18:44:55 +0000 |
commit | 877e1e212794c6a43f6661198ac1b369fab975be (patch) | |
tree | 0aea008c19f8633dc19e91138667d49576f7523e /core/fpdfapi/page/cpdf_pathobject.h | |
parent | 1313ca08f7156898acf09e893e3f0e20d2d85424 (diff) | |
download | pdfium-877e1e212794c6a43f6661198ac1b369fab975be.tar.xz |
Make CPDF_PathObject::m_FillType private.
Change-Id: I69436316dd4a12ebdc3f09e7db3bf25c7495a4ce
Reviewed-on: https://pdfium-review.googlesource.com/c/44512
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_pathobject.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_pathobject.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_pathobject.h b/core/fpdfapi/page/cpdf_pathobject.h index 9067147410..e6e0d19de8 100644 --- a/core/fpdfapi/page/cpdf_pathobject.h +++ b/core/fpdfapi/page/cpdf_pathobject.h @@ -27,6 +27,9 @@ class CPDF_PathObject final : public CPDF_PageObject { void CalcBoundingBox(); + int filltype() const { return m_FillType; } + void set_filltype(int filltype) { m_FillType = filltype; } + bool stroke() const { return m_bStroke; } void set_stroke(bool stroke) { m_bStroke = stroke; } @@ -34,9 +37,9 @@ class CPDF_PathObject final : public CPDF_PageObject { void set_matrix(const CFX_Matrix& matrix) { m_Matrix = matrix; } CPDF_Path m_Path; - int m_FillType = 0; private: + int m_FillType = 0; bool m_bStroke = false; CFX_Matrix m_Matrix; }; |