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

Side by Side Diff: core/fxge/win32/win32_int.h

Issue 2032613003: Get rid of NULLs in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Git rid of comparisons against NULL Created 4 years, 6 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
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_WIN32_WIN32_INT_H_ 7 #ifndef CORE_FXGE_WIN32_WIN32_INT_H_
8 #define CORE_FXGE_WIN32_WIN32_INT_H_ 8 #define CORE_FXGE_WIN32_WIN32_INT_H_
9 9
10 #include "core/fxge/include/fx_ge.h" 10 #include "core/fxge/include/fx_ge.h"
11 #include "core/fxge/win32/dwrite_int.h" 11 #include "core/fxge/win32/dwrite_int.h"
12 12
13 struct WINDIB_Open_Args_; 13 struct WINDIB_Open_Args_;
14 class CGdiplusExt { 14 class CGdiplusExt {
15 public: 15 public:
16 CGdiplusExt(); 16 CGdiplusExt();
17 ~CGdiplusExt(); 17 ~CGdiplusExt();
18 void Load(); 18 void Load();
19 FX_BOOL IsAvailable() { return m_hModule != NULL; } 19 FX_BOOL IsAvailable() { return !!m_hModule; }
20 FX_BOOL StretchBitMask(HDC hDC, 20 FX_BOOL StretchBitMask(HDC hDC,
21 BOOL bMonoDevice, 21 BOOL bMonoDevice,
22 const CFX_DIBitmap* pBitmap, 22 const CFX_DIBitmap* pBitmap,
23 int dest_left, 23 int dest_left,
24 int dest_top, 24 int dest_top,
25 int dest_width, 25 int dest_width,
26 int dest_height, 26 int dest_height,
27 uint32_t argb, 27 uint32_t argb,
28 const FX_RECT* pClipRect, 28 const FX_RECT* pClipRect,
29 int flags); 29 int flags);
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 359
360 HDC m_hDC; 360 HDC m_hDC;
361 FX_BOOL m_bCmykOutput; 361 FX_BOOL m_bCmykOutput;
362 int m_Width, m_Height, m_nBitsPerPixel; 362 int m_Width, m_Height, m_nBitsPerPixel;
363 int m_HorzSize, m_VertSize; 363 int m_HorzSize, m_VertSize;
364 CPSOutput* m_pPSOutput; 364 CPSOutput* m_pPSOutput;
365 CFX_PSRenderer m_PSRenderer; 365 CFX_PSRenderer m_PSRenderer;
366 }; 366 };
367 367
368 #endif // CORE_FXGE_WIN32_WIN32_INT_H_ 368 #endif // CORE_FXGE_WIN32_WIN32_INT_H_
OLDNEW
« core/fxcrt/fx_basic_maps.cpp ('K') | « core/fxge/win32/fx_win32_dwrite.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698