| 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_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 void DownSampleScanline(int line, | 491 void DownSampleScanline(int line, |
| 492 uint8_t* dest_scan, | 492 uint8_t* dest_scan, |
| 493 int dest_bpp, | 493 int dest_bpp, |
| 494 int dest_width, | 494 int dest_width, |
| 495 FX_BOOL bFlipX, | 495 FX_BOOL bFlipX, |
| 496 int clip_left, | 496 int clip_left, |
| 497 int clip_width) const override; | 497 int clip_width) const override; |
| 498 void SetDownSampleSize(int dest_width, int dest_height) override; | 498 void SetDownSampleSize(int dest_width, int dest_height) override; |
| 499 | 499 |
| 500 CFX_DIBitmap* GetBitmap() const; | 500 CFX_DIBitmap* GetBitmap() const; |
| 501 void ReleaseBitmap(CFX_DIBitmap*) const; | 501 void ReleaseBitmap(CFX_DIBitmap* pBitmap) const; |
| 502 void ClearImageData(); | 502 void ClearImageData(); |
| 503 FX_DWORD GetMatteColor() const { return m_MatteColor; } | 503 FX_DWORD GetMatteColor() const { return m_MatteColor; } |
| 504 | 504 |
| 505 int StartLoadDIBSource(CPDF_Document* pDoc, | 505 int StartLoadDIBSource(CPDF_Document* pDoc, |
| 506 const CPDF_Stream* pStream, | 506 const CPDF_Stream* pStream, |
| 507 FX_BOOL bHasMask, | 507 FX_BOOL bHasMask, |
| 508 CPDF_Dictionary* pFormResources, | 508 CPDF_Dictionary* pFormResources, |
| 509 CPDF_Dictionary* pPageResources, | 509 CPDF_Dictionary* pPageResources, |
| 510 FX_BOOL bStdCS = FALSE, | 510 FX_BOOL bStdCS = FALSE, |
| 511 FX_DWORD GroupFamily = 0, | 511 FX_DWORD GroupFamily = 0, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 const uint8_t* m_RampB; | 610 const uint8_t* m_RampB; |
| 611 }; | 611 }; |
| 612 | 612 |
| 613 struct _CPDF_UniqueKeyGen { | 613 struct _CPDF_UniqueKeyGen { |
| 614 void Generate(int count, ...); | 614 void Generate(int count, ...); |
| 615 FX_CHAR m_Key[128]; | 615 FX_CHAR m_Key[128]; |
| 616 int m_KeyLen; | 616 int m_KeyLen; |
| 617 }; | 617 }; |
| 618 | 618 |
| 619 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 619 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| OLD | NEW |