Chromium Code Reviews| 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_SRC_FXGE_WIN32_WIN32_INT_H_ | 7 #ifndef CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
| 8 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 8 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
| 9 | 9 |
| 10 #include "core/include/fxge/fx_ge.h" | 10 #include "core/include/fxge/fx_ge.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 90 FX_BOOL GdiRemoveFontMemResourceEx(void* handle); | 90 FX_BOOL GdiRemoveFontMemResourceEx(void* handle); |
| 91 void* m_Functions[100]; | 91 void* m_Functions[100]; |
| 92 void* m_pGdiAddFontMemResourceEx; | 92 void* m_pGdiAddFontMemResourceEx; |
| 93 void* m_pGdiRemoveFontMemResourseEx; | 93 void* m_pGdiRemoveFontMemResourseEx; |
| 94 CFX_DIBitmap* LoadDIBitmap(WINDIB_Open_Args_ args); | 94 CFX_DIBitmap* LoadDIBitmap(WINDIB_Open_Args_ args); |
| 95 | 95 |
| 96 protected: | 96 protected: |
| 97 HMODULE m_hModule; | 97 HMODULE m_hModule; |
| 98 HMODULE m_GdiModule; | 98 HMODULE m_GdiModule; |
| 99 }; | 99 }; |
| 100 #include "dwrite_int.h" | 100 #include "core/src/fxge/win32/dwrite_int.h" |
|
Tom Sepez
2016/02/17 21:32:27
nit: move to top
dsinclair
2016/02/17 21:54:01
Done.
| |
| 101 class CWin32Platform { | 101 class CWin32Platform { |
| 102 public: | 102 public: |
| 103 FX_BOOL m_bHalfTone; | 103 FX_BOOL m_bHalfTone; |
| 104 CGdiplusExt m_GdiplusExt; | 104 CGdiplusExt m_GdiplusExt; |
| 105 CDWriteExt m_DWriteExt; | 105 CDWriteExt m_DWriteExt; |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 class CGdiDeviceDriver : public IFX_RenderDeviceDriver { | 108 class CGdiDeviceDriver : public IFX_RenderDeviceDriver { |
| 109 protected: | 109 protected: |
| 110 // IFX_RenderDeviceDriver | 110 // IFX_RenderDeviceDriver |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 360 int m_HorzSize, m_VertSize; | 360 int m_HorzSize, m_VertSize; |
| 361 CPSOutput* m_pPSOutput; | 361 CPSOutput* m_pPSOutput; |
| 362 CFX_PSRenderer m_PSRenderer; | 362 CFX_PSRenderer m_PSRenderer; |
| 363 }; | 363 }; |
| 364 void _Color2Argb(FX_ARGB& argb, | 364 void _Color2Argb(FX_ARGB& argb, |
| 365 FX_DWORD color, | 365 FX_DWORD color, |
| 366 int alpha_flag, | 366 int alpha_flag, |
| 367 void* pIccTransform); | 367 void* pIccTransform); |
| 368 | 368 |
| 369 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 369 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
| OLD | NEW |