| 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_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_FPDFAPI_RENDER_RENDER_INT_H_ |
| 8 #define CORE_FPDFAPI_RENDER_RENDER_INT_H_ | 8 #define CORE_FPDFAPI_RENDER_RENDER_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 uint8_t* GetBuffer() const override; | 78 uint8_t* GetBuffer() const override; |
| 79 const uint8_t* GetScanline(int line) const override; | 79 const uint8_t* GetScanline(int line) const override; |
| 80 void DownSampleScanline(int line, | 80 void DownSampleScanline(int line, |
| 81 uint8_t* dest_scan, | 81 uint8_t* dest_scan, |
| 82 int dest_bpp, | 82 int dest_bpp, |
| 83 int dest_width, | 83 int dest_width, |
| 84 bool bFlipX, | 84 bool bFlipX, |
| 85 int clip_left, | 85 int clip_left, |
| 86 int clip_width) const override; | 86 int clip_width) const override; |
| 87 | 87 |
| 88 CFX_DIBitmap* GetBitmap() const; | |
| 89 void ReleaseBitmap(CFX_DIBitmap* pBitmap) const; | |
| 90 uint32_t GetMatteColor() const { return m_MatteColor; } | 88 uint32_t GetMatteColor() const { return m_MatteColor; } |
| 91 | 89 |
| 92 int StartLoadDIBSource(CPDF_Document* pDoc, | 90 int StartLoadDIBSource(CPDF_Document* pDoc, |
| 93 const CPDF_Stream* pStream, | 91 const CPDF_Stream* pStream, |
| 94 bool bHasMask, | 92 bool bHasMask, |
| 95 CPDF_Dictionary* pFormResources, | 93 CPDF_Dictionary* pFormResources, |
| 96 CPDF_Dictionary* pPageResources, | 94 CPDF_Dictionary* pPageResources, |
| 97 bool bStdCS = false, | 95 bool bStdCS = false, |
| 98 uint32_t GroupFamily = 0, | 96 uint32_t GroupFamily = 0, |
| 99 bool bLoadMask = false); | 97 bool bLoadMask = false); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 CCodec_ScanlineDecoder* FPDFAPI_CreateFlateDecoder( | 176 CCodec_ScanlineDecoder* FPDFAPI_CreateFlateDecoder( |
| 179 const uint8_t* src_buf, | 177 const uint8_t* src_buf, |
| 180 uint32_t src_size, | 178 uint32_t src_size, |
| 181 int width, | 179 int width, |
| 182 int height, | 180 int height, |
| 183 int nComps, | 181 int nComps, |
| 184 int bpc, | 182 int bpc, |
| 185 const CPDF_Dictionary* pParams); | 183 const CPDF_Dictionary* pParams); |
| 186 | 184 |
| 187 #endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_ | 185 #endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_ |
| OLD | NEW |