From 6db6fbcdee9f1887ac02c647210bd5013358f12d Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 20 Jan 2017 12:22:16 -0800 Subject: Remove CFX_Points, CFX_PointsF in favor of std::vector CFX_Points was unused. Review-Url: https://codereview.chromium.org/2645523006 --- xfa/fde/fde_gedevice.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'xfa/fde/fde_gedevice.h') diff --git a/xfa/fde/fde_gedevice.h b/xfa/fde/fde_gedevice.h index 170bef595f..7c772cfd03 100644 --- a/xfa/fde/fde_gedevice.h +++ b/xfa/fde/fde_gedevice.h @@ -7,6 +7,8 @@ #ifndef XFA_FDE_FDE_GEDEVICE_H_ #define XFA_FDE_FDE_GEDEVICE_H_ +#include + #include "core/fxge/cfx_renderdevice.h" #include "xfa/fgas/font/cfgas_gefont.h" @@ -52,7 +54,7 @@ class CFDE_RenderDevice { const CFX_Matrix* pMatrix = nullptr); bool DrawCurve(CFDE_Pen* pPen, FX_FLOAT fPenWidth, - const CFX_PointsF& points, + const std::vector& points, bool bClosed, FX_FLOAT fTension = 0.5f, const CFX_Matrix* pMatrix = nullptr); @@ -62,7 +64,7 @@ class CFDE_RenderDevice { const CFX_Matrix* pMatrix = nullptr); bool DrawLines(CFDE_Pen* pPen, FX_FLOAT fPenWidth, - const CFX_PointsF& points, + const std::vector& points, const CFX_Matrix* pMatrix = nullptr); bool DrawLine(CFDE_Pen* pPen, FX_FLOAT fPenWidth, @@ -75,14 +77,14 @@ class CFDE_RenderDevice { const CFX_Matrix* pMatrix = nullptr); bool DrawPolygon(CFDE_Pen* pPen, FX_FLOAT fPenWidth, - const CFX_PointsF& points, + const std::vector& points, const CFX_Matrix* pMatrix = nullptr); bool DrawRectangle(CFDE_Pen* pPen, FX_FLOAT fPenWidth, const CFX_RectF& rect, const CFX_Matrix* pMatrix = nullptr); bool FillClosedCurve(CFDE_Brush* pBrush, - const CFX_PointsF& points, + const std::vector& points, FX_FLOAT fTension = 0.5f, const CFX_Matrix* pMatrix = nullptr); bool FillEllipse(CFDE_Brush* pBrush, @@ -92,7 +94,7 @@ class CFDE_RenderDevice { const CFDE_Path* pPath, const CFX_Matrix* pMatrix = nullptr); bool FillPolygon(CFDE_Brush* pBrush, - const CFX_PointsF& points, + const std::vector& points, const CFX_Matrix* pMatrix = nullptr); bool FillRectangle(CFDE_Brush* pBrush, const CFX_RectF& rect, -- cgit v1.2.3