| 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_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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 public: | 75 public: |
| 76 FXDIB_Format m_DestFormat; | 76 FXDIB_Format m_DestFormat; |
| 77 int m_DestBpp, m_SrcBpp, m_bHasAlpha; | 77 int m_DestBpp, m_SrcBpp, m_bHasAlpha; |
| 78 IFX_ScanlineComposer* m_pDestBitmap; | 78 IFX_ScanlineComposer* m_pDestBitmap; |
| 79 int m_DestWidth, m_DestHeight; | 79 int m_DestWidth, m_DestHeight; |
| 80 FX_RECT m_DestClip; | 80 FX_RECT m_DestClip; |
| 81 uint8_t* m_pDestScanline; | 81 uint8_t* m_pDestScanline; |
| 82 uint8_t* m_pDestMaskScanline; | 82 uint8_t* m_pDestMaskScanline; |
| 83 FX_RECT m_SrcClip; | 83 FX_RECT m_SrcClip; |
| 84 const CFX_DIBSource* m_pSource; | 84 const CFX_DIBSource* m_pSource; |
| 85 FX_DWORD* m_pSrcPalette; | 85 uint32_t* m_pSrcPalette; |
| 86 int m_SrcWidth, m_SrcHeight; | 86 int m_SrcWidth, m_SrcHeight; |
| 87 int m_SrcPitch, m_InterPitch; | 87 int m_SrcPitch, m_InterPitch; |
| 88 int m_ExtraMaskPitch; | 88 int m_ExtraMaskPitch; |
| 89 unsigned char* m_pInterBuf; | 89 unsigned char* m_pInterBuf; |
| 90 unsigned char* m_pExtraAlphaBuf; | 90 unsigned char* m_pExtraAlphaBuf; |
| 91 int m_TransMethod; | 91 int m_TransMethod; |
| 92 int m_Flags; | 92 int m_Flags; |
| 93 CWeightTable m_WeightTable; | 93 CWeightTable m_WeightTable; |
| 94 int m_CurRow; | 94 int m_CurRow; |
| 95 FX_BOOL StartStretchHorz(); | 95 FX_BOOL StartStretchHorz(); |
| 96 FX_BOOL ContinueStretchHorz(IFX_Pause* pPause); | 96 FX_BOOL ContinueStretchHorz(IFX_Pause* pPause); |
| 97 void StretchVert(); | 97 void StretchVert(); |
| 98 int m_State; | 98 int m_State; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 FX_RECT FXDIB_SwapClipBox(FX_RECT& clip, | 101 FX_RECT FXDIB_SwapClipBox(FX_RECT& clip, |
| 102 int width, | 102 int width, |
| 103 int height, | 103 int height, |
| 104 FX_BOOL bFlipX, | 104 FX_BOOL bFlipX, |
| 105 FX_BOOL bFlipY); | 105 FX_BOOL bFlipY); |
| 106 | 106 |
| 107 #endif // CORE_FXGE_DIB_DIB_INT_H_ | 107 #endif // CORE_FXGE_DIB_DIB_INT_H_ |
| OLD | NEW |