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 CORE_FXGE_WIN32_WIN32_INT_H_ | 7 #ifndef CORE_FXGE_WIN32_WIN32_INT_H_ |
8 #define CORE_FXGE_WIN32_WIN32_INT_H_ | 8 #define CORE_FXGE_WIN32_WIN32_INT_H_ |
9 | 9 |
10 #include "core/fxge/include/fx_ge.h" | 10 #include "core/fxge/include/fx_ge.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 FX_FLOAT y1, | 138 FX_FLOAT y1, |
139 FX_FLOAT x2, | 139 FX_FLOAT x2, |
140 FX_FLOAT y2, | 140 FX_FLOAT y2, |
141 uint32_t color, | 141 uint32_t color, |
142 int alpha_flag, | 142 int alpha_flag, |
143 void* pIccTransform, | 143 void* pIccTransform, |
144 int blend_type) override; | 144 int blend_type) override; |
145 FX_BOOL GetClipBox(FX_RECT* pRect) override; | 145 FX_BOOL GetClipBox(FX_RECT* pRect) override; |
146 void* GetPlatformSurface() const override { return (void*)m_hDC; } | 146 void* GetPlatformSurface() const override { return (void*)m_hDC; } |
147 | 147 |
148 virtual void* GetClipRgn(); | 148 void DrawLine(FX_FLOAT x1, |
149 virtual FX_BOOL SetClipRgn(void* pRgn); | 149 FX_FLOAT y1, |
150 virtual FX_BOOL DeleteDeviceRgn(void* pRgn); | 150 FX_FLOAT x2, |
151 virtual void DrawLine(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2); | 151 FX_FLOAT y2, |
| 152 const CFX_Matrix* pMatrix); |
152 | 153 |
153 FX_BOOL GDI_SetDIBits(CFX_DIBitmap* pBitmap, | 154 FX_BOOL GDI_SetDIBits(CFX_DIBitmap* pBitmap, |
154 const FX_RECT* pSrcRect, | 155 const FX_RECT* pSrcRect, |
155 int left, | 156 int left, |
156 int top, | 157 int top, |
157 void* pIccTransform); | 158 void* pIccTransform); |
158 FX_BOOL GDI_StretchDIBits(CFX_DIBitmap* pBitmap, | 159 FX_BOOL GDI_StretchDIBits(CFX_DIBitmap* pBitmap, |
159 int dest_left, | 160 int dest_left, |
160 int dest_top, | 161 int dest_top, |
161 int dest_width, | 162 int dest_width, |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 void*& handle, | 268 void*& handle, |
268 int alpha_flag, | 269 int alpha_flag, |
269 void* pIccTransform, | 270 void* pIccTransform, |
270 int blend_type) override; | 271 int blend_type) override; |
271 | 272 |
272 const int m_HorzSize; | 273 const int m_HorzSize; |
273 const int m_VertSize; | 274 const int m_VertSize; |
274 }; | 275 }; |
275 | 276 |
276 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ | 277 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ |
OLD | NEW |