diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-10 10:16:06 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-10 21:16:19 +0000 |
commit | 7ffb59f7f540a67fb808c1e5a2a7edfacf125e3a (patch) | |
tree | 7f6fc5563912ce4b6e8878b4b5fe337eac3d40a8 /core/fxge/cfx_pathdata.h | |
parent | f7520395821090b36a5ad8c658a844c3342dbf66 (diff) | |
download | pdfium-7ffb59f7f540a67fb808c1e5a2a7edfacf125e3a.tar.xz |
Remove CFDE_Path
This CL removes CFDE_Path. There is only one method, AddLine which is
required, the rest can be removed. That method is moved to CFX_PathData
which is what CFDE_Path is appending to anyway.
Change-Id: If50af8cf856a9f7379791fe1999174db5fd13e38
Reviewed-on: https://pdfium-review.googlesource.com/10454
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/cfx_pathdata.h')
-rw-r--r-- | core/fxge/cfx_pathdata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fxge/cfx_pathdata.h b/core/fxge/cfx_pathdata.h index bcb2b7aadf..0e2bb89f9f 100644 --- a/core/fxge/cfx_pathdata.h +++ b/core/fxge/cfx_pathdata.h @@ -60,6 +60,7 @@ class CFX_PathData { void Append(const CFX_PathData* pSrc, const CFX_Matrix* pMatrix); void AppendRect(float left, float bottom, float right, float top); + void AppendLine(const CFX_PointF& pt1, const CFX_PointF& pt2); void AppendPoint(const CFX_PointF& pos, FXPT_TYPE type, bool closeFigure); void ClosePath(); |