summaryrefslogtreecommitdiff
path: root/xfa/src/fxgraphics
diff options
context:
space:
mode:
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,