Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: core/fpdfapi/fpdf_page/include/cpdf_image.h

Issue 1831263002: Remove unused params of CPDF_Image::SetImage. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_image.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGE_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGE_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGE_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGE_H_
9 9
10 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 FX_BOOL IsMask() const { return m_bIsMask; } 51 FX_BOOL IsMask() const { return m_bIsMask; }
52 FX_BOOL IsInterpol() const { return m_bInterpolate; } 52 FX_BOOL IsInterpol() const { return m_bInterpolate; }
53 53
54 CFX_DIBSource* LoadDIBSource(CFX_DIBSource** ppMask = NULL, 54 CFX_DIBSource* LoadDIBSource(CFX_DIBSource** ppMask = NULL,
55 FX_DWORD* pMatteColor = NULL, 55 FX_DWORD* pMatteColor = NULL,
56 FX_BOOL bStdCS = FALSE, 56 FX_BOOL bStdCS = FALSE,
57 FX_DWORD GroupFamily = 0, 57 FX_DWORD GroupFamily = 0,
58 FX_BOOL bLoadMask = FALSE) const; 58 FX_BOOL bLoadMask = FALSE) const;
59 59
60 void SetInlineDict(CPDF_Dictionary* pDict) { m_pInlineDict = pDict; } 60 void SetInlineDict(CPDF_Dictionary* pDict) { m_pInlineDict = pDict; }
61 void SetImage(const CFX_DIBitmap* pDIBitmap, 61 void SetImage(const CFX_DIBitmap* pDIBitmap, int32_t iCompress);
62 int32_t iCompress,
63 IFX_FileWrite* pFileWrite = NULL,
64 IFX_FileRead* pFileRead = NULL,
65 const CFX_DIBitmap* pMask = NULL);
66 void SetJpegImage(uint8_t* pImageData, FX_DWORD size); 62 void SetJpegImage(uint8_t* pImageData, FX_DWORD size);
67 void SetJpegImage(IFX_FileRead* pFile); 63 void SetJpegImage(IFX_FileRead* pFile);
68 64
69 void ResetCache(CPDF_Page* pPage, const CFX_DIBitmap* pDIBitmap); 65 void ResetCache(CPDF_Page* pPage, const CFX_DIBitmap* pDIBitmap);
70 66
71 FX_BOOL StartLoadDIBSource(CPDF_Dictionary* pFormResource, 67 FX_BOOL StartLoadDIBSource(CPDF_Dictionary* pFormResource,
72 CPDF_Dictionary* pPageResource, 68 CPDF_Dictionary* pPageResource,
73 FX_BOOL bStdCS = FALSE, 69 FX_BOOL bStdCS = FALSE,
74 FX_DWORD GroupFamily = 0, 70 FX_DWORD GroupFamily = 0,
75 FX_BOOL bLoadMask = FALSE); 71 FX_BOOL bLoadMask = FALSE);
(...skipping 13 matching lines...) Expand all
89 CPDF_Dictionary* m_pInlineDict; 85 CPDF_Dictionary* m_pInlineDict;
90 int32_t m_Height; 86 int32_t m_Height;
91 int32_t m_Width; 87 int32_t m_Width;
92 FX_BOOL m_bIsMask; 88 FX_BOOL m_bIsMask;
93 FX_BOOL m_bInterpolate; 89 FX_BOOL m_bInterpolate;
94 CPDF_Document* m_pDocument; 90 CPDF_Document* m_pDocument;
95 CPDF_Dictionary* m_pOC; 91 CPDF_Dictionary* m_pOC;
96 }; 92 };
97 93
98 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGE_H_ 94 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGE_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_image.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698