| 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_INCLUDE_FXGE_FX_DIB_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FX_DIB_H_ |
| 8 #define CORE_INCLUDE_FXGE_FX_DIB_H_ | 8 #define CORE_INCLUDE_FXGE_FX_DIB_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 FXDIB_Cyan, | 34 FXDIB_Cyan, |
| 35 FXDIB_Magenta, | 35 FXDIB_Magenta, |
| 36 FXDIB_Yellow, | 36 FXDIB_Yellow, |
| 37 FXDIB_Black, | 37 FXDIB_Black, |
| 38 FXDIB_Alpha | 38 FXDIB_Alpha |
| 39 }; | 39 }; |
| 40 #define FXDIB_DOWNSAMPLE 0x04 | 40 #define FXDIB_DOWNSAMPLE 0x04 |
| 41 #define FXDIB_INTERPOL 0x20 | 41 #define FXDIB_INTERPOL 0x20 |
| 42 #define FXDIB_BICUBIC_INTERPOL 0x80 | 42 #define FXDIB_BICUBIC_INTERPOL 0x80 |
| 43 #define FXDIB_NOSMOOTH 0x100 | 43 #define FXDIB_NOSMOOTH 0x100 |
| 44 #define FXDIB_PALETTE_LOC 0x01 | |
| 45 #define FXDIB_PALETTE_WIN 0x02 | |
| 46 #define FXDIB_PALETTE_MAC 0x04 | |
| 47 #define FXDIB_BLEND_NORMAL 0 | 44 #define FXDIB_BLEND_NORMAL 0 |
| 48 #define FXDIB_BLEND_MULTIPLY 1 | 45 #define FXDIB_BLEND_MULTIPLY 1 |
| 49 #define FXDIB_BLEND_SCREEN 2 | 46 #define FXDIB_BLEND_SCREEN 2 |
| 50 #define FXDIB_BLEND_OVERLAY 3 | 47 #define FXDIB_BLEND_OVERLAY 3 |
| 51 #define FXDIB_BLEND_DARKEN 4 | 48 #define FXDIB_BLEND_DARKEN 4 |
| 52 #define FXDIB_BLEND_LIGHTEN 5 | 49 #define FXDIB_BLEND_LIGHTEN 5 |
| 53 | 50 |
| 54 #define FXDIB_BLEND_COLORDODGE 6 | 51 #define FXDIB_BLEND_COLORDODGE 6 |
| 55 #define FXDIB_BLEND_COLORBURN 7 | 52 #define FXDIB_BLEND_COLORBURN 7 |
| 56 #define FXDIB_BLEND_HARDLIGHT 8 | 53 #define FXDIB_BLEND_HARDLIGHT 8 |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 int m_Status; | 661 int m_Status; |
| 665 FX_RECT m_ClipBox; | 662 FX_RECT m_ClipBox; |
| 666 FX_DWORD m_Flags; | 663 FX_DWORD m_Flags; |
| 667 int m_AlphaFlag; | 664 int m_AlphaFlag; |
| 668 void* m_pIccTransform; | 665 void* m_pIccTransform; |
| 669 FX_BOOL m_bRgbByteOrder; | 666 FX_BOOL m_bRgbByteOrder; |
| 670 int m_BlendType; | 667 int m_BlendType; |
| 671 }; | 668 }; |
| 672 | 669 |
| 673 #endif // CORE_INCLUDE_FXGE_FX_DIB_H_ | 670 #endif // CORE_INCLUDE_FXGE_FX_DIB_H_ |
| OLD | NEW |