diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-12 13:19:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-12 13:19:36 -0700 |
commit | a5c1323ae6a2379fb5fe3ddea4c223fccd0c41b0 (patch) | |
tree | accc30b91dd79d90921b13ae430d17f4a51a737f /xfa/fde/fde_visualset.h | |
parent | 6b19ec629d32e872d2e430987526162b2954b851 (diff) | |
download | pdfium-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_visualset.h')
-rw-r--r-- | xfa/fde/fde_visualset.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fde/fde_visualset.h b/xfa/fde/fde_visualset.h index 6dcb42c296..2c95253315 100644 --- a/xfa/fde/fde_visualset.h +++ b/xfa/fde/fde_visualset.h @@ -11,10 +11,9 @@ #include "core/fxcrt/include/fx_system.h" #include "core/fxge/include/fx_dib.h" #include "core/fxge/include/fx_ge.h" -#include "xfa/fde/fde_brush.h" #include "xfa/fde/fde_image.h" +#include "xfa/fde/fde_object.h" #include "xfa/fde/fde_path.h" -#include "xfa/fde/fde_pen.h" #include "xfa/fgas/font/fgas_font.h" enum FDE_VISUALOBJTYPE { @@ -78,9 +77,9 @@ class IFDE_PathSet : public IFDE_VisualSet { virtual IFDE_Path* GetPath(FDE_HVISUALOBJ hPath) = 0; virtual int32_t GetFillMode(FDE_HVISUALOBJ hPath) = 0; virtual int32_t GetRenderMode(FDE_HVISUALOBJ hPath) = 0; - virtual IFDE_Pen* GetPen(FDE_HVISUALOBJ hPath) = 0; + virtual CFDE_Pen* GetPen(FDE_HVISUALOBJ hPath) = 0; virtual FX_FLOAT GetPenWidth(FDE_HVISUALOBJ hPath) = 0; - virtual IFDE_Brush* GetBrush(FDE_HVISUALOBJ hPath) = 0; + virtual CFDE_Brush* GetBrush(FDE_HVISUALOBJ hPath) = 0; }; enum FDE_WIDGETOBJ { |