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

Side by Side Diff: core/src/fpdfapi/fpdf_render/render_int.h

Issue 1747123002: Fix and enable lint checks. (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
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp ('k') | core/src/fxcrt/fx_system_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698