| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_INCLUDE_CFX_RENDERDEVICE_H_ | 7 #ifndef CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ |
| 8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ | 8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 void CancelDIBits(void* handle); | 205 void CancelDIBits(void* handle); |
| 206 | 206 |
| 207 FX_BOOL DrawNormalText(int nChars, | 207 FX_BOOL DrawNormalText(int nChars, |
| 208 const FXTEXT_CHARPOS* pCharPos, | 208 const FXTEXT_CHARPOS* pCharPos, |
| 209 CFX_Font* pFont, | 209 CFX_Font* pFont, |
| 210 FX_FLOAT font_size, | 210 FX_FLOAT font_size, |
| 211 const CFX_Matrix* pText2Device, | 211 const CFX_Matrix* pText2Device, |
| 212 uint32_t fill_color, | 212 uint32_t fill_color, |
| 213 uint32_t text_flags); | 213 uint32_t text_flags); |
| 214 FX_BOOL DrawTextPath(int nChars, | 214 FX_BOOL DrawTextPath(int nChars, |
| 215 const FXTEXT_CHARPOS* pCharPos, | 215 const FXTEXT_CHARPOS* pCharPos, |
| 216 CFX_Font* pFont, | 216 CFX_Font* pFont, |
| 217 FX_FLOAT font_size, | 217 FX_FLOAT font_size, |
| 218 const CFX_Matrix* pText2User, | 218 const CFX_Matrix* pText2User, |
| 219 const CFX_Matrix* pUser2Device, | 219 const CFX_Matrix* pUser2Device, |
| 220 const CFX_GraphStateData* pGraphState, | 220 const CFX_GraphStateData* pGraphState, |
| 221 uint32_t fill_color, | 221 uint32_t fill_color, |
| 222 uint32_t stroke_color, | 222 uint32_t stroke_color, |
| 223 CFX_PathData* pClippingPath, | 223 CFX_PathData* pClippingPath, |
| 224 int nFlag); | 224 int nFlag); |
| 225 | 225 |
| 226 #ifdef _SKIA_SUPPORT_ | 226 #ifdef _SKIA_SUPPORT_ |
| 227 virtual void DebugVerifyBitmapIsPreMultiplied() const; | 227 virtual void DebugVerifyBitmapIsPreMultiplied() const; |
| 228 virtual bool SetBitsWithMask(const CFX_DIBSource* pBitmap, | 228 virtual bool SetBitsWithMask(const CFX_DIBSource* pBitmap, |
| 229 const CFX_DIBSource* pMask, | 229 const CFX_DIBSource* pMask, |
| 230 int left, | 230 int left, |
| 231 int top, | 231 int top, |
| 232 int bitmap_alpha, | 232 int bitmap_alpha, |
| 233 int blend_type); | 233 int blend_type); |
| 234 void Flush(); | 234 void Flush(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 249 int m_Width; | 249 int m_Width; |
| 250 int m_Height; | 250 int m_Height; |
| 251 int m_bpp; | 251 int m_bpp; |
| 252 int m_RenderCaps; | 252 int m_RenderCaps; |
| 253 int m_DeviceClass; | 253 int m_DeviceClass; |
| 254 FX_RECT m_ClipBox; | 254 FX_RECT m_ClipBox; |
| 255 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver; | 255 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver; |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ | 258 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ |
| OLD | NEW |