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 _FX_GE_H_ | 7 #ifndef _FX_GE_H_ |
| 8 #define _FX_GE_H_ | 8 #define _FX_GE_H_ |
| 9 #ifndef _FX_DIB_H_ | 9 #ifndef _FX_DIB_H_ |
| 10 #include "fx_dib.h" | 10 #include "fx_dib.h" |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 630 virtual int GetDriverType() | 630 virtual int GetDriverType() |
| 631 { | 631 { |
| 632 return 0; | 632 return 0; |
| 633 } | 633 } |
| 634 | 634 |
| 635 virtual void ClearDriver() {} | 635 virtual void ClearDriver() {} |
| 636 }; | 636 }; |
| 637 class IFX_PSOutput | 637 class IFX_PSOutput |
| 638 { | 638 { |
| 639 public: | 639 public: |
| 640 virtual void Release() = 0; | |
|
brucedawson
2015/01/09 00:20:49
Are there any binary compatibility issues from reo
Tom Sepez
2015/01/09 01:16:53
There's one cast but its not suspicious - in fx_wi
| |
| 641 virtual void OutputPS(FX_LPCSTR string, int len) = 0; | |
| 640 | 642 |
| 641 virtual void» OutputPS(FX_LPCSTR string, int len) = 0; | 643 protected: |
| 642 virtual void Release() = 0; | 644 ~IFX_PSOutput() { } |
| 643 }; | 645 }; |
| 644 class CPSFont; | 646 class CPSFont; |
| 645 class CFX_PSRenderer : public CFX_Object | 647 class CFX_PSRenderer : public CFX_Object |
| 646 { | 648 { |
| 647 public: | 649 public: |
| 648 | 650 |
| 649 CFX_PSRenderer(); | 651 CFX_PSRenderer(); |
| 650 | 652 |
| 651 ~CFX_PSRenderer(); | 653 ~CFX_PSRenderer(); |
| 652 | 654 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 724 | 726 |
| 725 void SetGraphState(const CFX_GraphStateData* pGraphSt ate); | 727 void SetGraphState(const CFX_GraphStateData* pGraphSt ate); |
| 726 | 728 |
| 727 void SetColor(FX_DWORD color, int alpha_flag, void* p IccTransform); | 729 void SetColor(FX_DWORD color, int alpha_flag, void* p IccTransform); |
| 728 | 730 |
| 729 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, CFX_F ont* pFont, const FXTEXT_CHARPOS& charpos, int& ps_fontnum, int &ps_glyphindex); | 731 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, CFX_F ont* pFont, const FXTEXT_CHARPOS& charpos, int& ps_fontnum, int &ps_glyphindex); |
| 730 | 732 |
| 731 void WritePSBinary(FX_LPCBYTE data, int len); | 733 void WritePSBinary(FX_LPCBYTE data, int len); |
| 732 }; | 734 }; |
| 733 #endif | 735 #endif |
| OLD | NEW |