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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 FX_BOOL FillRectWithBlend(const FX_RECT* pRect, | 130 FX_BOOL FillRectWithBlend(const FX_RECT* pRect, |
131 uint32_t fill_color, | 131 uint32_t fill_color, |
132 int blend_type) override; | 132 int blend_type) override; |
133 FX_BOOL DrawCosmeticLine(FX_FLOAT x1, | 133 FX_BOOL DrawCosmeticLine(FX_FLOAT x1, |
134 FX_FLOAT y1, | 134 FX_FLOAT y1, |
135 FX_FLOAT x2, | 135 FX_FLOAT x2, |
136 FX_FLOAT y2, | 136 FX_FLOAT y2, |
137 uint32_t color, | 137 uint32_t color, |
138 int blend_type) override; | 138 int blend_type) override; |
139 FX_BOOL GetClipBox(FX_RECT* pRect) override; | 139 FX_BOOL GetClipBox(FX_RECT* pRect) override; |
140 void* GetPlatformSurface() const override { return (void*)m_hDC; } | 140 void* GetPlatformSurface() const override; |
141 | 141 |
142 void DrawLine(FX_FLOAT x1, | 142 void DrawLine(FX_FLOAT x1, |
143 FX_FLOAT y1, | 143 FX_FLOAT y1, |
144 FX_FLOAT x2, | 144 FX_FLOAT x2, |
145 FX_FLOAT y2, | 145 FX_FLOAT y2, |
146 const CFX_Matrix* pMatrix); | 146 const CFX_Matrix* pMatrix); |
147 | 147 |
148 FX_BOOL GDI_SetDIBits(CFX_DIBitmap* pBitmap, | 148 FX_BOOL GDI_SetDIBits(CFX_DIBitmap* pBitmap, |
149 const FX_RECT* pSrcRect, | 149 const FX_RECT* pSrcRect, |
150 int left, | 150 int left, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 int dest_height, | 196 int dest_height, |
197 const FX_RECT* pClipRect, | 197 const FX_RECT* pClipRect, |
198 uint32_t flags, | 198 uint32_t flags, |
199 int blend_type) override; | 199 int blend_type) override; |
200 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, | 200 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, |
201 int bitmap_alpha, | 201 int bitmap_alpha, |
202 uint32_t color, | 202 uint32_t color, |
203 const CFX_Matrix* pMatrix, | 203 const CFX_Matrix* pMatrix, |
204 uint32_t render_flags, | 204 uint32_t render_flags, |
205 void*& handle, | 205 void*& handle, |
206 int blend_type) override { | 206 int blend_type) override; |
207 return FALSE; | |
208 } | |
209 FX_BOOL UseFoxitStretchEngine(const CFX_DIBSource* pSource, | 207 FX_BOOL UseFoxitStretchEngine(const CFX_DIBSource* pSource, |
210 uint32_t color, | 208 uint32_t color, |
211 int dest_left, | 209 int dest_left, |
212 int dest_top, | 210 int dest_top, |
213 int dest_width, | 211 int dest_width, |
214 int dest_height, | 212 int dest_height, |
215 const FX_RECT* pClipRect, | 213 const FX_RECT* pClipRect, |
216 int render_flags); | 214 int render_flags); |
217 }; | 215 }; |
218 | 216 |
(...skipping 25 matching lines...) Expand all Loading... |
244 const CFX_Matrix* pMatrix, | 242 const CFX_Matrix* pMatrix, |
245 uint32_t render_flags, | 243 uint32_t render_flags, |
246 void*& handle, | 244 void*& handle, |
247 int blend_type) override; | 245 int blend_type) override; |
248 | 246 |
249 const int m_HorzSize; | 247 const int m_HorzSize; |
250 const int m_VertSize; | 248 const int m_VertSize; |
251 }; | 249 }; |
252 | 250 |
253 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ | 251 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ |
OLD | NEW |