summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/cfx_graphics.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-13 13:51:04 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-13 18:33:44 +0000
commitfe75997a8a8d7fc555d91c3aad595112a46ad7a2 (patch)
treed58bf413c2261ccd96820004dbaba71bd3ad2022 /xfa/fxgraphics/cfx_graphics.h
parent334e79e15c271aeccacd65376e0050725d79d79d (diff)
downloadpdfium-fe75997a8a8d7fc555d91c3aad595112a46ad7a2.tar.xz
Rename cfx_color to cxfa_color
This CL renames CFX_Color to CXFA_Color. The class has some XFA specific things like shadings and patterns in it and doesn't make sense as the colour base class. Change-Id: I1d2230b9f03a1017777ce673419926429b769e7c Reviewed-on: https://pdfium-review.googlesource.com/7752 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxgraphics/cfx_graphics.h')
-rw-r--r--xfa/fxgraphics/cfx_graphics.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxgraphics/cfx_graphics.h b/xfa/fxgraphics/cfx_graphics.h
index 8785a387d6..0ce9bf4b32 100644
--- a/xfa/fxgraphics/cfx_graphics.h
+++ b/xfa/fxgraphics/cfx_graphics.h
@@ -17,7 +17,7 @@
#include "core/fxge/fx_dib.h"
#include "core/fxge/fx_font.h"
-class CFX_Color;
+class CXFA_Color;
class CFX_Path;
using FX_FillMode = int32_t;
@@ -57,8 +57,8 @@ class CFX_Graphics {
void SetLineDash(float dashPhase, float* dashArray, int32_t dashCount);
void SetLineDash(FX_DashStyle dashStyle);
void SetLineWidth(float lineWidth, bool isActOnDash = false);
- void SetStrokeColor(CFX_Color* color);
- void SetFillColor(CFX_Color* color);
+ void SetStrokeColor(CXFA_Color* color);
+ void SetFillColor(CXFA_Color* color);
void SetClipRect(const CFX_RectF& rect);
void StrokePath(CFX_Path* path, CFX_Matrix* matrix = nullptr);
void FillPath(CFX_Path* path,
@@ -81,8 +81,8 @@ class CFX_Graphics {
CFX_GraphStateData graphState;
CFX_Matrix CTM;
bool isActOnDash;
- CFX_Color* strokeColor;
- CFX_Color* fillColor;
+ CXFA_Color* strokeColor;
+ CXFA_Color* fillColor;
} m_info;
void RenderDeviceSetLineDash(FX_DashStyle dashStyle);