summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-08-08 08:18:29 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-08 08:18:29 -0700
commit660de3c494b68a574cb4cdf20359f51ddc260d3c (patch)
tree04eebfb5e0effe3cdce70e8bf60b39dcc018a817 /xfa/fxgraphics
parentf41d9dc1ead47a1218e1cd37bd74ec850c8baaa3 (diff)
downloadpdfium-660de3c494b68a574cb4cdf20359f51ddc260d3c.tar.xz
Move CFX_ClipRgn and CFX_PathData into their own files.
This is the second CL in an attempt to split up the classes in fxge/include/fx_ge.h into their own files. CFX_ClipRgn is moved to core/fxge/ge because it is only used in core/fxge. The header for CFX_PathData is left in core/fxge/include since it is used elsewhere. Review-Url: https://codereview.chromium.org/2216853004
Diffstat (limited to 'xfa/fxgraphics')
-rw-r--r--xfa/fxgraphics/cfx_path.cpp1
-rw-r--r--xfa/fxgraphics/cfx_path_generator.cpp2
-rw-r--r--xfa/fxgraphics/cfx_path_generator.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/xfa/fxgraphics/cfx_path.cpp b/xfa/fxgraphics/cfx_path.cpp
index fe956d3fcc..892a339469 100644
--- a/xfa/fxgraphics/cfx_path.cpp
+++ b/xfa/fxgraphics/cfx_path.cpp
@@ -6,6 +6,7 @@
#include "xfa/fxgraphics/cfx_path.h"
+#include "core/fxge/include/cfx_pathdata.h"
#include "xfa/fxgraphics/cfx_path_generator.h"
CFX_Path::CFX_Path() {
diff --git a/xfa/fxgraphics/cfx_path_generator.cpp b/xfa/fxgraphics/cfx_path_generator.cpp
index 984e2e9d1a..f2dc182b55 100644
--- a/xfa/fxgraphics/cfx_path_generator.cpp
+++ b/xfa/fxgraphics/cfx_path_generator.cpp
@@ -6,6 +6,8 @@
#include "xfa/fxgraphics/cfx_path_generator.h"
+#include "core/fxge/include/cfx_pathdata.h"
+
CFX_PathGenerator::CFX_PathGenerator() : m_pPathData(nullptr) {}
void CFX_PathGenerator::Create() {
diff --git a/xfa/fxgraphics/cfx_path_generator.h b/xfa/fxgraphics/cfx_path_generator.h
index 02aa4230d5..186178e516 100644
--- a/xfa/fxgraphics/cfx_path_generator.h
+++ b/xfa/fxgraphics/cfx_path_generator.h
@@ -7,6 +7,7 @@
#ifndef XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_
#define XFA_FXGRAPHICS_CFX_PATH_GENERATOR_H_
+#include "core/fxge/include/cfx_pathdata.h"
#include "core/fxge/include/fx_ge.h"
class CFX_PathGenerator {