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_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
8 #define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 8 #define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 const CFX_Matrix* pImage2Device, | 198 const CFX_Matrix* pImage2Device, |
199 CPDF_ImageCacheEntry* pImageCache, | 199 CPDF_ImageCacheEntry* pImageCache, |
200 uint32_t flags); | 200 uint32_t flags); |
201 void CompositeDIBitmap(CFX_DIBitmap* pDIBitmap, | 201 void CompositeDIBitmap(CFX_DIBitmap* pDIBitmap, |
202 int left, | 202 int left, |
203 int top, | 203 int top, |
204 FX_ARGB mask_argb, | 204 FX_ARGB mask_argb, |
205 int bitmap_alpha, | 205 int bitmap_alpha, |
206 int blend_mode, | 206 int blend_mode, |
207 int bIsolated); | 207 int bIsolated); |
208 FX_BOOL ProcessShading(const CPDF_ShadingObject* pShadingObj, | 208 void ProcessShading(const CPDF_ShadingObject* pShadingObj, |
209 const CFX_Matrix* pObj2Device); | 209 const CFX_Matrix* pObj2Device); |
210 void DrawShading(CPDF_ShadingPattern* pPattern, | 210 void DrawShading(CPDF_ShadingPattern* pPattern, |
211 CFX_Matrix* pMatrix, | 211 CFX_Matrix* pMatrix, |
212 FX_RECT& clip_rect, | 212 FX_RECT& clip_rect, |
213 int alpha, | 213 int alpha, |
214 FX_BOOL bAlphaMode); | 214 FX_BOOL bAlphaMode); |
215 FX_BOOL ProcessType3Text(const CPDF_TextObject* textobj, | 215 FX_BOOL ProcessType3Text(const CPDF_TextObject* textobj, |
216 const CFX_Matrix* pObj2Device); | 216 const CFX_Matrix* pObj2Device); |
217 FX_BOOL ProcessText(const CPDF_TextObject* textobj, | 217 FX_BOOL ProcessText(const CPDF_TextObject* textobj, |
218 const CFX_Matrix* pObj2Device, | 218 const CFX_Matrix* pObj2Device, |
219 CFX_PathData* pClippingPath); | 219 CFX_PathData* pClippingPath); |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 const uint8_t* src_buf, | 618 const uint8_t* src_buf, |
619 int pixels, | 619 int pixels, |
620 int Bpp) const override; | 620 int Bpp) const override; |
621 | 621 |
622 const uint8_t* m_RampR; | 622 const uint8_t* m_RampR; |
623 const uint8_t* m_RampG; | 623 const uint8_t* m_RampG; |
624 const uint8_t* m_RampB; | 624 const uint8_t* m_RampB; |
625 }; | 625 }; |
626 | 626 |
627 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 627 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
OLD | NEW |