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

Side by Side Diff: core/fxge/dib/dib_int.h

Issue 2477443002: Remove FX_BOOL from core (Closed)
Patch Set: Created 4 years, 1 month 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/fxge/cfx_renderdevice.h ('k') | core/fxge/dib/fx_dib_composite.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FXGE_DIB_DIB_INT_H_ 7 #ifndef CORE_FXGE_DIB_DIB_INT_H_
8 #define CORE_FXGE_DIB_DIB_INT_H_ 8 #define CORE_FXGE_DIB_DIB_INT_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 public: 68 public:
69 CStretchEngine(IFX_ScanlineComposer* pDestBitmap, 69 CStretchEngine(IFX_ScanlineComposer* pDestBitmap,
70 FXDIB_Format dest_format, 70 FXDIB_Format dest_format,
71 int dest_width, 71 int dest_width,
72 int dest_height, 72 int dest_height,
73 const FX_RECT& clip_rect, 73 const FX_RECT& clip_rect,
74 const CFX_DIBSource* pSrcBitmap, 74 const CFX_DIBSource* pSrcBitmap,
75 int flags); 75 int flags);
76 ~CStretchEngine(); 76 ~CStretchEngine();
77 77
78 FX_BOOL Continue(IFX_Pause* pPause); 78 bool Continue(IFX_Pause* pPause);
79 79
80 FX_BOOL StartStretchHorz(); 80 bool StartStretchHorz();
81 FX_BOOL ContinueStretchHorz(IFX_Pause* pPause); 81 bool ContinueStretchHorz(IFX_Pause* pPause);
82 void StretchVert(); 82 void StretchVert();
83 83
84 FXDIB_Format m_DestFormat; 84 FXDIB_Format m_DestFormat;
85 int m_DestBpp; 85 int m_DestBpp;
86 int m_SrcBpp; 86 int m_SrcBpp;
87 int m_bHasAlpha; 87 int m_bHasAlpha;
88 IFX_ScanlineComposer* m_pDestBitmap; 88 IFX_ScanlineComposer* m_pDestBitmap;
89 int m_DestWidth, m_DestHeight; 89 int m_DestWidth, m_DestHeight;
90 FX_RECT m_DestClip; 90 FX_RECT m_DestClip;
91 uint8_t* m_pDestScanline; 91 uint8_t* m_pDestScanline;
(...skipping 11 matching lines...) Expand all
103 int m_TransMethod; 103 int m_TransMethod;
104 int m_Flags; 104 int m_Flags;
105 CWeightTable m_WeightTable; 105 CWeightTable m_WeightTable;
106 int m_CurRow; 106 int m_CurRow;
107 int m_State; 107 int m_State;
108 }; 108 };
109 109
110 FX_RECT FXDIB_SwapClipBox(FX_RECT& clip, 110 FX_RECT FXDIB_SwapClipBox(FX_RECT& clip,
111 int width, 111 int width,
112 int height, 112 int height,
113 FX_BOOL bFlipX, 113 bool bFlipX,
114 FX_BOOL bFlipY); 114 bool bFlipY);
115 115
116 #endif // CORE_FXGE_DIB_DIB_INT_H_ 116 #endif // CORE_FXGE_DIB_DIB_INT_H_
OLDNEW
« no previous file with comments | « core/fxge/cfx_renderdevice.h ('k') | core/fxge/dib/fx_dib_composite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698