Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Unified Diff: xfa/fde/fde_brush.h

Issue 1881803003: Remove IFDE_Pen and IFDE_Brush. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa.gyp ('k') | xfa/fde/fde_gedevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/fde_brush.h
diff --git a/xfa/fde/fde_brush.h b/xfa/fde/fde_brush.h
deleted file mode 100644
index a9e99b0cd63c583bacaa5b67bab007084057ed59..0000000000000000000000000000000000000000
--- a/xfa/fde/fde_brush.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef XFA_FDE_FDE_BRUSH_H_
-#define XFA_FDE_FDE_BRUSH_H_
-
-#include "core/fxcrt/include/fx_system.h"
-#include "core/fxge/include/fx_dib.h"
-
-#define FDE_BRUSHTYPE_Unknown -1
-#define FDE_BRUSHTYPE_Solid 0
-#define FDE_BRUSHTYPE_MAX 0
-
-class IFDE_Brush {
- public:
- static IFDE_Brush* Create(int32_t iType);
- virtual ~IFDE_Brush() {}
- virtual void Release() = 0;
- virtual int32_t GetType() const = 0;
-};
-
-class IFDE_SolidBrush : public IFDE_Brush {
- public:
- virtual FX_ARGB GetColor() const = 0;
- virtual void SetColor(FX_ARGB color) = 0;
- virtual const CFX_Matrix& GetMatrix() const = 0;
- virtual void ResetMatrix() = 0;
- virtual void TranslateMatrix(FX_FLOAT dx, FX_FLOAT dy) = 0;
- virtual void RotateMatrix(FX_FLOAT fRadian) = 0;
- virtual void ScaleMatrix(FX_FLOAT sx, FX_FLOAT sy) = 0;
- virtual void ConcatMatrix(const CFX_Matrix& matrix) = 0;
- virtual void SetMatrix(const CFX_Matrix& matrix) = 0;
-};
-
-#endif // XFA_FDE_FDE_BRUSH_H_
« no previous file with comments | « xfa.gyp ('k') | xfa/fde/fde_gedevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698