| Index: core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
|
| diff --git a/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp b/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
|
| index cfe7b48c8ba7a3e461cf68f7e6452fb5c7af0838..b62a5bd25aed421622d58c9e783b04a46be40e94 100644
|
| --- a/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
|
| +++ b/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
|
| @@ -21,11 +21,27 @@ CPDF_PathObject* CPDF_PathObject::Clone() const {
|
| return obj;
|
| }
|
|
|
| +CPDF_PageObject::Type CPDF_PathObject::GetType() const {
|
| + return PATH;
|
| +}
|
| +
|
| void CPDF_PathObject::Transform(const CFX_Matrix& matrix) {
|
| m_Matrix.Concat(matrix);
|
| CalcBoundingBox();
|
| }
|
|
|
| +bool CPDF_PathObject::IsPath() const {
|
| + return true;
|
| +}
|
| +
|
| +CPDF_PathObject* CPDF_PathObject::AsPath() {
|
| + return this;
|
| +}
|
| +
|
| +const CPDF_PathObject* CPDF_PathObject::AsPath() const {
|
| + return this;
|
| +}
|
| +
|
| void CPDF_PathObject::CalcBoundingBox() {
|
| if (m_Path.IsNull()) {
|
| return;
|
|
|