summaryrefslogtreecommitdiff
path: root/xfa/src/fxgraphics
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-29 15:03:18 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-29 15:03:18 -0500
commitb36430115717af4ecfa573476714cecc73f3d1c3 (patch)
tree4d8f0e8c1d6c526036b635e7d220faaac0bba01c /xfa/src/fxgraphics
parentbf85bd7234e5fc0120315007dec085d741dcfb7a (diff)
downloadpdfium-b36430115717af4ecfa573476714cecc73f3d1c3.tar.xz
Remove foxitlib.h and foxitxfa.h and IWYU.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1746053003 .
Diffstat (limited to 'xfa/src/fxgraphics')
-rw-r--r--xfa/src/fxgraphics/src/fx_graphics.cpp1
-rw-r--r--xfa/src/fxgraphics/src/pre.h5
2 files changed, 4 insertions, 2 deletions
diff --git a/xfa/src/fxgraphics/src/fx_graphics.cpp b/xfa/src/fxgraphics/src/fx_graphics.cpp
index 3f8c07cedf..301bd7c356 100644
--- a/xfa/src/fxgraphics/src/fx_graphics.cpp
+++ b/xfa/src/fxgraphics/src/fx_graphics.cpp
@@ -6,6 +6,7 @@
#include <memory>
+#include "xfa/include/fxgraphics/fx_graphics.h"
#include "xfa/src/fxgraphics/src/fx_path_generator.h"
#include "xfa/src/fxgraphics/src/pre.h"
diff --git a/xfa/src/fxgraphics/src/pre.h b/xfa/src/fxgraphics/src/pre.h
index 1a1820551a..582d999d7e 100644
--- a/xfa/src/fxgraphics/src/pre.h
+++ b/xfa/src/fxgraphics/src/pre.h
@@ -7,8 +7,6 @@
#ifndef XFA_SRC_FXGRAPHICS_SRC_PRE_H_
#define XFA_SRC_FXGRAPHICS_SRC_PRE_H_
-#include "xfa/src/foxitlib.h"
-
enum {
FX_CONTEXT_None = 0,
FX_CONTEXT_Device,
@@ -16,13 +14,16 @@ enum {
enum { FX_COLOR_None = 0, FX_COLOR_Solid, FX_COLOR_Pattern, FX_COLOR_Shading };
enum { FX_PATTERN_None = 0, FX_PATTERN_Bitmap, FX_PATTERN_Hatch };
enum { FX_SHADING_None = 0, FX_SHADING_Axial, FX_SHADING_Radial };
+
#define FX_HATCHSTYLE_Total 53
+
struct FX_HATCHDATA {
int32_t width;
int32_t height;
uint8_t maskBits[64];
};
typedef FX_HATCHDATA const* FX_LPCHATCHDATA;
+
static const FX_HATCHDATA hatchBitmapData[FX_HATCHSTYLE_Total] = {
{16,
16,