| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, |
| 151 int top, | 151 int top); |
| 152 void* pIccTransform); | |
| 153 FX_BOOL GDI_StretchDIBits(CFX_DIBitmap* pBitmap, | 152 FX_BOOL GDI_StretchDIBits(CFX_DIBitmap* pBitmap, |
| 154 int dest_left, | 153 int dest_left, |
| 155 int dest_top, | 154 int dest_top, |
| 156 int dest_width, | 155 int dest_width, |
| 157 int dest_height, | 156 int dest_height, |
| 158 uint32_t flags, | 157 uint32_t flags); |
| 159 void* pIccTransform); | |
| 160 FX_BOOL GDI_StretchBitMask(CFX_DIBitmap* pBitmap, | 158 FX_BOOL GDI_StretchBitMask(CFX_DIBitmap* pBitmap, |
| 161 int dest_left, | 159 int dest_left, |
| 162 int dest_top, | 160 int dest_top, |
| 163 int dest_width, | 161 int dest_width, |
| 164 int dest_height, | 162 int dest_height, |
| 165 uint32_t bitmap_color, | 163 uint32_t bitmap_color, |
| 166 uint32_t flags, | 164 uint32_t flags); |
| 167 int alpha_flag, | |
| 168 void* pIccTransform); | |
| 169 | 165 |
| 170 HDC m_hDC; | 166 HDC m_hDC; |
| 171 int m_Width; | 167 int m_Width; |
| 172 int m_Height; | 168 int m_Height; |
| 173 int m_nBitsPerPixel; | 169 int m_nBitsPerPixel; |
| 174 int m_DeviceClass; | 170 int m_DeviceClass; |
| 175 int m_RenderCaps; | 171 int m_RenderCaps; |
| 176 }; | 172 }; |
| 177 | 173 |
| 178 class CGdiDisplayDriver : public CGdiDeviceDriver { | 174 class CGdiDisplayDriver : public CGdiDeviceDriver { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 const CFX_Matrix* pMatrix, | 238 const CFX_Matrix* pMatrix, |
| 243 uint32_t render_flags, | 239 uint32_t render_flags, |
| 244 void*& handle, | 240 void*& handle, |
| 245 int blend_type) override; | 241 int blend_type) override; |
| 246 | 242 |
| 247 const int m_HorzSize; | 243 const int m_HorzSize; |
| 248 const int m_VertSize; | 244 const int m_VertSize; |
| 249 }; | 245 }; |
| 250 | 246 |
| 251 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ | 247 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ |
| OLD | NEW |