summaryrefslogtreecommitdiff
path: root/xfa/src/fdp/include/fde_pen.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-23 12:09:25 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-23 12:09:25 -0800
commit2886a25b68225ad3ad70d417b01108ad1d126488 (patch)
tree4ba27fdd0cbb9948468ca032fbfbacff2616d728 /xfa/src/fdp/include/fde_pen.h
parent9976672977d39fc5fe9df2b0110ed977d79609a8 (diff)
downloadpdfium-2886a25b68225ad3ad70d417b01108ad1d126488.tar.xz
Remove more _CAPS names
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1726803002 .
Diffstat (limited to 'xfa/src/fdp/include/fde_pen.h')
-rw-r--r--xfa/src/fdp/include/fde_pen.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/xfa/src/fdp/include/fde_pen.h b/xfa/src/fdp/include/fde_pen.h
index a335c972ee..904d7215ea 100644
--- a/xfa/src/fdp/include/fde_pen.h
+++ b/xfa/src/fdp/include/fde_pen.h
@@ -8,29 +8,33 @@
#define XFA_SRC_FDP_INCLUDE_FDE_PEN_H_
class IFDE_Pen;
+
#define FDE_PENTYPE_Unknown FDE_BRUSHTYPE_Unknown
#define FDE_PENTYPE_SolidColor FDE_BRUSHTYPE_Solid
#define FDE_PENTYPE_HatchBrush FDE_BRUSHTYPE_Hatch
#define FDE_PENTYPE_TextureBrush FDE_BRUSHTYPE_Texture
#define FDE_PENTYPE_LinearGradient FDE_BRUSHTYPE_LinearGradient
#define FDE_PENTYPE_MAX FDE_BRUSHTYPE_MAX
+
#define FDE_DASHSTYLE_Solid 0
#define FDE_DASHSTYLE_Dash 1
#define FDE_DASHSTYLE_Dot 2
#define FDE_DASHSTYLE_DashDot 3
#define FDE_DASHSTYLE_DashDotDot 4
#define FDE_DASHSTYLE_Customized 5
+
#define FDE_LINEJOIN_Miter 0
#define FDE_LINEJOIN_Round 1
#define FDE_LINEJOIN_Bevel 2
+
#define FDE_LINECAP_Flat 0
#define FDE_LINECAP_Round 1
#define FDE_LINECAP_Square 2
-typedef struct _FDE_COMPOUNDPATTERN {
+
+struct FDE_COMPOUNDPATTERN {
FX_FLOAT pos;
FX_FLOAT width;
-} FDE_COMPOUNDPATTERN, *FDE_LPCOMPOUNDPATTERN;
-typedef FDE_COMPOUNDPATTERN const* FDE_LPCCOMPOUNDPATTERN;
+};
typedef CFX_ArrayTemplate<FDE_COMPOUNDPATTERN> CFDE_CompoundPatterns;
class IFDE_Pen {