Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: xfa/src/fxgraphics/src/pre.h

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanup Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/src/fxgraphics/src/fx_graphics.cpp ('k') | xfa/src/fxjse/src/class.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxgraphics/src/pre.h
diff --git a/xfa/src/fxgraphics/src/pre.h b/xfa/src/fxgraphics/src/pre.h
index 1a1820551ab29a2d4b448794cc42a209d4fc337e..582d999d7efc18b2855b8f520c103307705dceb4 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,
« no previous file with comments | « xfa/src/fxgraphics/src/fx_graphics.cpp ('k') | xfa/src/fxjse/src/class.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698