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

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

Issue 1783023002: Re-enable MSVC warning 4800 for compiling with chromium_code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: remove cast change on security_handler file Created 4 years, 9 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 | « core/include/fxcrt/fx_system.h ('k') | core/src/fpdfapi/fpdf_edit/fpdf_edit_create.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_INCLUDE_FXGE_FX_GE_H_ 7 #ifndef CORE_INCLUDE_FXGE_FX_GE_H_
8 #define CORE_INCLUDE_FXGE_FX_GE_H_ 8 #define CORE_INCLUDE_FXGE_FX_GE_H_
9 9
10 #include "core/include/fxge/fx_dib.h" 10 #include "core/include/fxge/fx_dib.h"
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 int m_DeviceClass; 405 int m_DeviceClass;
406 FX_RECT m_ClipBox; 406 FX_RECT m_ClipBox;
407 IFX_RenderDeviceDriver* m_pDeviceDriver; 407 IFX_RenderDeviceDriver* m_pDeviceDriver;
408 }; 408 };
409 409
410 class CFX_FxgeDevice : public CFX_RenderDevice { 410 class CFX_FxgeDevice : public CFX_RenderDevice {
411 public: 411 public:
412 CFX_FxgeDevice(); 412 CFX_FxgeDevice();
413 ~CFX_FxgeDevice() override; 413 ~CFX_FxgeDevice() override;
414 414
415 FX_BOOL Attach(CFX_DIBitmap* pBitmap, 415 bool Attach(CFX_DIBitmap* pBitmap,
416 int dither_bits = 0, 416 int dither_bits = 0,
417 FX_BOOL bRgbByteOrder = FALSE, 417 bool bRgbByteOrder = false,
418 CFX_DIBitmap* pOriDevice = NULL, 418 CFX_DIBitmap* pOriDevice = NULL,
419 FX_BOOL bGroupKnockout = FALSE); 419 bool bGroupKnockout = false);
420 420
421 FX_BOOL Create(int width, 421 bool Create(int width,
422 int height, 422 int height,
423 FXDIB_Format format, 423 FXDIB_Format format,
424 int dither_bits = 0, 424 int dither_bits = 0,
425 CFX_DIBitmap* pOriDevice = NULL); 425 CFX_DIBitmap* pOriDevice = NULL);
426 426
427 protected: 427 protected:
428 FX_BOOL m_bOwnedBitmap; 428 bool m_bOwnedBitmap;
429 }; 429 };
430 class CFX_SkiaDevice : public CFX_RenderDevice { 430 class CFX_SkiaDevice : public CFX_RenderDevice {
431 public: 431 public:
432 CFX_SkiaDevice(); 432 CFX_SkiaDevice();
433 ~CFX_SkiaDevice() override; 433 ~CFX_SkiaDevice() override;
434 434
435 FX_BOOL Attach(CFX_DIBitmap* pBitmap, 435 FX_BOOL Attach(CFX_DIBitmap* pBitmap,
436 int dither_bits = 0, 436 int dither_bits = 0,
437 FX_BOOL bRgbByteOrder = FALSE, 437 FX_BOOL bRgbByteOrder = FALSE,
438 CFX_DIBitmap* pOriDevice = NULL, 438 CFX_DIBitmap* pOriDevice = NULL,
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, 701 void FindPSFontGlyph(CFX_FaceCache* pFaceCache,
702 CFX_Font* pFont, 702 CFX_Font* pFont,
703 const FXTEXT_CHARPOS& charpos, 703 const FXTEXT_CHARPOS& charpos,
704 int& ps_fontnum, 704 int& ps_fontnum,
705 int& ps_glyphindex); 705 int& ps_glyphindex);
706 706
707 void WritePSBinary(const uint8_t* data, int len); 707 void WritePSBinary(const uint8_t* data, int len);
708 }; 708 };
709 709
710 #endif // CORE_INCLUDE_FXGE_FX_GE_H_ 710 #endif // CORE_INCLUDE_FXGE_FX_GE_H_
OLDNEW
« no previous file with comments | « core/include/fxcrt/fx_system.h ('k') | core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698