| 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> |
| 11 | 11 |
| 12 #include "core/fxcrt/fx_coordinates.h" | 12 #include "core/fxcrt/fx_coordinates.h" |
| 13 #include "core/fxge/include/fx_dib.h" | 13 #include "core/fxge/fx_dib.h" |
| 14 | 14 |
| 15 class IFX_ScanlineComposer; | 15 class IFX_ScanlineComposer; |
| 16 | 16 |
| 17 extern const int16_t SDP_Table[513]; | 17 extern const int16_t SDP_Table[513]; |
| 18 | 18 |
| 19 class CPDF_FixedMatrix { | 19 class CPDF_FixedMatrix { |
| 20 public: | 20 public: |
| 21 CPDF_FixedMatrix(const CFX_Matrix& src, int bits) { | 21 CPDF_FixedMatrix(const CFX_Matrix& src, int bits) { |
| 22 base = 1 << bits; | 22 base = 1 << bits; |
| 23 a = FXSYS_round(src.a * base); | 23 a = FXSYS_round(src.a * base); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 FX_BOOL bFlipX, |
| 114 FX_BOOL bFlipY); | 114 FX_BOOL bFlipY); |
| 115 | 115 |
| 116 #endif // CORE_FXGE_DIB_DIB_INT_H_ | 116 #endif // CORE_FXGE_DIB_DIB_INT_H_ |
| OLD | NEW |