OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_SRC_FDE_FDE_RENDERDEVICE_H_ | 7 #ifndef XFA_FDE_FDE_RENDERDEVICE_H_ |
8 #define XFA_SRC_FDE_FDE_RENDERDEVICE_H_ | 8 #define XFA_FDE_FDE_RENDERDEVICE_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_coordinates.h" | 10 #include "core/include/fxcrt/fx_coordinates.h" |
11 #include "core/include/fxge/fx_font.h" | 11 #include "core/include/fxge/fx_font.h" |
12 #include "core/include/fxge/fx_ge.h" | 12 #include "core/include/fxge/fx_ge.h" |
13 #include "xfa/src/fde/fde_path.h" | 13 #include "xfa/fde/fde_path.h" |
14 #include "xfa/src/fgas/font/fgas_font.h" | 14 #include "xfa/fgas/font/fgas_font.h" |
15 | 15 |
16 class IFDE_Pen; | 16 class IFDE_Pen; |
17 class IFDE_Brush; | 17 class IFDE_Brush; |
18 class CFX_DIBitmap; | 18 class CFX_DIBitmap; |
19 class CFX_DIBSource; | 19 class CFX_DIBSource; |
20 | 20 |
21 typedef struct FDE_HDEVICESTATE_ { void* pData; } * FDE_HDEVICESTATE; | 21 typedef struct FDE_HDEVICESTATE_ { void* pData; } * FDE_HDEVICESTATE; |
22 | 22 |
23 class IFDE_RenderDevice { | 23 class IFDE_RenderDevice { |
24 public: | 24 public: |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 const IFDE_Path* pPath, | 100 const IFDE_Path* pPath, |
101 const CFX_Matrix* pMatrix = NULL) = 0; | 101 const CFX_Matrix* pMatrix = NULL) = 0; |
102 virtual FX_BOOL FillPolygon(IFDE_Brush* pBrush, | 102 virtual FX_BOOL FillPolygon(IFDE_Brush* pBrush, |
103 const CFX_PointsF& points, | 103 const CFX_PointsF& points, |
104 const CFX_Matrix* pMatrix = NULL) = 0; | 104 const CFX_Matrix* pMatrix = NULL) = 0; |
105 virtual FX_BOOL FillRectangle(IFDE_Brush* pBrush, | 105 virtual FX_BOOL FillRectangle(IFDE_Brush* pBrush, |
106 const CFX_RectF& rect, | 106 const CFX_RectF& rect, |
107 const CFX_Matrix* pMatrix = NULL) = 0; | 107 const CFX_Matrix* pMatrix = NULL) = 0; |
108 }; | 108 }; |
109 | 109 |
110 #endif // XFA_SRC_FDE_FDE_RENDERDEVICE_H_ | 110 #endif // XFA_FDE_FDE_RENDERDEVICE_H_ |
OLD | NEW |