Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: core/fxge/include/fx_ge_win32.h

Issue 2113563003: Implement CGdiPrinterDriver::DrawDeviceText(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/fxge/win32/fx_win32_print.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_INCLUDE_FX_GE_WIN32_H_ 7 #ifndef CORE_FXGE_INCLUDE_FX_GE_WIN32_H_
8 #define CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ 8 #define CORE_FXGE_INCLUDE_FX_GE_WIN32_H_
9 9
10 #ifdef _WIN32 10 #ifdef _WIN32
11 #ifndef _WINDOWS_ 11 #ifndef _WINDOWS_
12 #include <windows.h> 12 #include <windows.h>
13 #endif 13 #endif
14 #define WINDIB_OPEN_MEMORY 0x1 14 #define WINDIB_OPEN_MEMORY 0x1
15 #define WINDIB_OPEN_PATHNAME 0x2 15 #define WINDIB_OPEN_PATHNAME 0x2
16 16
17 class IFX_RenderDeviceDriver; 17 class IFX_RenderDeviceDriver;
18 18
19 #if defined(PDFIUM_PRINT_TEXT_WITH_GDI)
20 typedef void (*PDFiumEnsureTypefaceCharactersAccessible)(const LOGFONT* font,
21 const wchar_t* text,
22 size_t text_length);
23
24 extern bool g_pdfium_print_text_with_gdi;
25 extern PDFiumEnsureTypefaceCharactersAccessible
26 g_pdfium_typeface_accessible_func;
27 #endif
28
19 typedef struct WINDIB_Open_Args_ { 29 typedef struct WINDIB_Open_Args_ {
20 int flags; 30 int flags;
21 31
22 const uint8_t* memory_base; 32 const uint8_t* memory_base;
23 33
24 size_t memory_size; 34 size_t memory_size;
25 35
26 const FX_WCHAR* path_name; 36 const FX_WCHAR* path_name;
27 } WINDIB_Open_Args_; 37 } WINDIB_Open_Args_;
28 38
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 protected: 84 protected:
75 HBITMAP m_hBitmap; 85 HBITMAP m_hBitmap;
76 86
77 HBITMAP m_hOldBitmap; 87 HBITMAP m_hOldBitmap;
78 88
79 HDC m_hDC; 89 HDC m_hDC;
80 }; 90 };
81 #endif 91 #endif
82 92
83 #endif // CORE_FXGE_INCLUDE_FX_GE_WIN32_H_ 93 #endif // CORE_FXGE_INCLUDE_FX_GE_WIN32_H_
OLDNEW
« no previous file with comments | « no previous file | core/fxge/win32/fx_win32_print.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698