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

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

Issue 1402413004: Add type cast definitions for CPDF_Stream. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 int StartLoadMaskDIB(); 540 int StartLoadMaskDIB();
541 int ContinueLoadMaskDIB(IFX_Pause* pPause); 541 int ContinueLoadMaskDIB(IFX_Pause* pPause);
542 int ContinueToLoadMask(); 542 int ContinueToLoadMask();
543 CPDF_DIBSource* DetachMask(); 543 CPDF_DIBSource* DetachMask();
544 CPDF_DIBSource* m_pMask; 544 CPDF_DIBSource* m_pMask;
545 FX_DWORD m_MatteColor; 545 FX_DWORD m_MatteColor;
546 void* m_pJbig2Context; 546 void* m_pJbig2Context;
547 CPDF_StreamAcc* m_pGlobalStream; 547 CPDF_StreamAcc* m_pGlobalStream;
548 FX_BOOL m_bStdCS; 548 FX_BOOL m_bStdCS;
549 int m_Status; 549 int m_Status;
550 CPDF_Object* m_pMaskStream; 550 CPDF_Stream* m_pMaskStream;
551 FX_BOOL m_bHasMask; 551 FX_BOOL m_bHasMask;
552 552
553 private: 553 private:
554 FX_BOOL LoadColorInfo(CPDF_Dictionary* pFormResources, 554 FX_BOOL LoadColorInfo(CPDF_Dictionary* pFormResources,
555 CPDF_Dictionary* pPageResources); 555 CPDF_Dictionary* pPageResources);
556 DIB_COMP_DATA* GetDecodeAndMaskArray(FX_BOOL& bDefaultDecode, 556 DIB_COMP_DATA* GetDecodeAndMaskArray(FX_BOOL& bDefaultDecode,
557 FX_BOOL& bColorKey); 557 FX_BOOL& bColorKey);
558 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor); 558 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor);
559 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask); 559 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask);
560 void LoadJpxBitmap(); 560 void LoadJpxBitmap();
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 const uint8_t* m_RampB; 635 const uint8_t* m_RampB;
636 }; 636 };
637 637
638 struct _CPDF_UniqueKeyGen { 638 struct _CPDF_UniqueKeyGen {
639 void Generate(int count, ...); 639 void Generate(int count, ...);
640 FX_CHAR m_Key[128]; 640 FX_CHAR m_Key[128];
641 int m_KeyLen; 641 int m_KeyLen;
642 }; 642 };
643 643
644 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ 644 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698