diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-02-14 15:42:11 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-14 21:20:37 +0000 |
commit | 5f2d381028b2c09bd09a843368328155b1399c5e (patch) | |
tree | 39f0accddf4ba23fdff3f06c4b953137a4b68e36 /fpdfsdk/pdfwindow/cpwl_pathdata.cpp | |
parent | 7d4ccd7b5dd9ebb14e97ad35fb3bc093225b939a (diff) | |
download | pdfium-5f2d381028b2c09bd09a843368328155b1399c5e.tar.xz |
Replace CPWL_Point with CFX_PointFchromium/3013
The CPWL_Point is a subclass of CFX_PointF but adds no behaviour. Replacing
with parent class.
Change-Id: I5b971eb455a19c1e2bfebde86e4c8e2132bc62ad
Reviewed-on: https://pdfium-review.googlesource.com/2654
Reviewed-by: Nicolás Peña <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_pathdata.cpp')
-rw-r--r-- | fpdfsdk/pdfwindow/cpwl_pathdata.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_pathdata.cpp b/fpdfsdk/pdfwindow/cpwl_pathdata.cpp new file mode 100644 index 0000000000..64fcd90820 --- /dev/null +++ b/fpdfsdk/pdfwindow/cpwl_pathdata.cpp @@ -0,0 +1,16 @@ +// Copyright 2017 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#include "fpdfsdk/pdfwindow/cpwl_pathdata.h" + +CPWL_PathData::CPWL_PathData() : point(), type(PWLPT_UNKNOWN) {} + +CPWL_PathData::CPWL_PathData(const CFX_PointF& pt, PWL_PATHDATA_TYPE tp) + : point(pt), type(tp) {} + +CPWL_PathData::CPWL_PathData(const CPWL_PathData&) = default; + +CPWL_PathData::~CPWL_PathData() = default; |