summaryrefslogtreecommitdiff
path: root/xfa/fde/fde_renderdevice.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-12 13:19:36 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-12 13:19:36 -0700
commita5c1323ae6a2379fb5fe3ddea4c223fccd0c41b0 (patch)
treeaccc30b91dd79d90921b13ae430d17f4a51a737f /xfa/fde/fde_renderdevice.h
parent6b19ec629d32e872d2e430987526162b2954b851 (diff)
downloadpdfium-a5c1323ae6a2379fb5fe3ddea4c223fccd0c41b0.tar.xz
Remove IFDE_Pen and IFDE_Brush.
This Cl removes the two interfaces and renames CFDE_SolidBrush to CFDE_Brush. Uncalled methods are removed from both CFDE_Brush and CFDE_Pen and code simplified to match. BUG=pdfium:468 Review URL: https://codereview.chromium.org/1881803003
Diffstat (limited to 'xfa/fde/fde_renderdevice.h')
-rw-r--r--xfa/fde/fde_renderdevice.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/xfa/fde/fde_renderdevice.h b/xfa/fde/fde_renderdevice.h
index 55f6524cff..f0686597c7 100644
--- a/xfa/fde/fde_renderdevice.h
+++ b/xfa/fde/fde_renderdevice.h
@@ -13,8 +13,8 @@
#include "xfa/fde/fde_path.h"
#include "xfa/fgas/font/fgas_font.h"
-class IFDE_Pen;
-class IFDE_Brush;
+class CFDE_Pen;
+class CFDE_Brush;
class CFX_DIBitmap;
class CFX_DIBSource;
@@ -45,64 +45,64 @@ class IFDE_RenderDevice {
const CFX_RectF& dstRect,
const CFX_Matrix* pImgMatrix = NULL,
const CFX_Matrix* pDevMatrix = NULL) = 0;
- virtual FX_BOOL DrawString(IFDE_Brush* pBrush,
+ virtual FX_BOOL DrawString(CFDE_Brush* pBrush,
IFX_Font* pFont,
const FXTEXT_CHARPOS* pCharPos,
int32_t iCount,
FX_FLOAT fFontSize,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawBezier(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawBezier(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const CFX_PointF& pt1,
const CFX_PointF& pt2,
const CFX_PointF& pt3,
const CFX_PointF& pt4,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawCurve(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawCurve(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const CFX_PointsF& points,
FX_BOOL bClosed,
FX_FLOAT fTension = 0.5f,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawEllipse(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawEllipse(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const CFX_RectF& rect,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawLines(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawLines(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const CFX_PointsF& points,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawLine(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawLine(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const CFX_PointF& pt1,
const CFX_PointF& pt2,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawPath(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawPath(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const IFDE_Path* pPath,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawPolygon(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawPolygon(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const CFX_PointsF& points,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL DrawRectangle(IFDE_Pen* pPen,
+ virtual FX_BOOL DrawRectangle(CFDE_Pen* pPen,
FX_FLOAT fPenWidth,
const CFX_RectF& rect,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL FillClosedCurve(IFDE_Brush* pBrush,
+ virtual FX_BOOL FillClosedCurve(CFDE_Brush* pBrush,
const CFX_PointsF& points,
FX_FLOAT fTension = 0.5f,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL FillEllipse(IFDE_Brush* pBrush,
+ virtual FX_BOOL FillEllipse(CFDE_Brush* pBrush,
const CFX_RectF& rect,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL FillPath(IFDE_Brush* pBrush,
+ virtual FX_BOOL FillPath(CFDE_Brush* pBrush,
const IFDE_Path* pPath,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL FillPolygon(IFDE_Brush* pBrush,
+ virtual FX_BOOL FillPolygon(CFDE_Brush* pBrush,
const CFX_PointsF& points,
const CFX_Matrix* pMatrix = NULL) = 0;
- virtual FX_BOOL FillRectangle(IFDE_Brush* pBrush,
+ virtual FX_BOOL FillRectangle(CFDE_Brush* pBrush,
const CFX_RectF& rect,
const CFX_Matrix* pMatrix = NULL) = 0;
};