| 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 _FDE_GDIPLUSDEVICE_IMP | 7 #ifndef XFA_SRC_FDP_SRC_FDE_FDE_GDIDEVICE_H_ |
| 8 #define _FDE_GDIPLUSDEVICE_IMP | 8 #define XFA_SRC_FDP_SRC_FDE_FDE_GDIDEVICE_H_ |
| 9 |
| 9 #ifdef _FDEPLUS | 10 #ifdef _FDEPLUS |
| 10 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ | 11 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ |
| 11 _FX_OS_ == _FX_WIN64_ | 12 _FX_OS_ == _FX_WIN64_ |
| 12 class CFDE_GdiPath; | 13 class CFDE_GdiPath; |
| 13 class CFDE_GdiDevice : public IFDE_RenderDevice, public CFX_Target { | 14 class CFDE_GdiDevice : public IFDE_RenderDevice, public CFX_Target { |
| 14 public: | 15 public: |
| 15 CFDE_GdiDevice(CFX_DIBitmap* pDib); | 16 CFDE_GdiDevice(CFX_DIBitmap* pDib); |
| 16 ~CFDE_GdiDevice(); | 17 ~CFDE_GdiDevice(); |
| 17 | 18 |
| 18 virtual void Release() { delete this; } | 19 virtual void Release() { delete this; } |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 Gdiplus::GraphicsState m_GraphicsState; | 148 Gdiplus::GraphicsState m_GraphicsState; |
| 148 Gdiplus::Graphics* m_pGraphics; | 149 Gdiplus::Graphics* m_pGraphics; |
| 149 Gdiplus::Bitmap* m_pBitmap; | 150 Gdiplus::Bitmap* m_pBitmap; |
| 150 uint8_t* m_pGlyphBuf; | 151 uint8_t* m_pGlyphBuf; |
| 151 FX_DWORD m_dwGlyphLen; | 152 FX_DWORD m_dwGlyphLen; |
| 152 CFX_RectF m_rtClipRect; | 153 CFX_RectF m_rtClipRect; |
| 153 CFDE_GdiPath* m_pClipPath; | 154 CFDE_GdiPath* m_pClipPath; |
| 154 }; | 155 }; |
| 155 #endif | 156 #endif |
| 156 #endif | 157 #endif |
| 157 #endif | 158 |
| 159 #endif // XFA_SRC_FDP_SRC_FDE_FDE_GDIDEVICE_H_ |
| OLD | NEW |