| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFDOC_CPVT_GENERATEAP_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
| 8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
| 9 | 9 |
| 10 #include "core/fpdfdoc/cpvt_color.h" | 10 #include "core/fpdfdoc/cpvt_color.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 FX_BOOL bContinuous, | 39 FX_BOOL bContinuous, |
| 40 uint16_t SubWord); | 40 uint16_t SubWord); |
| 41 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect, | 41 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect, |
| 42 FX_FLOAT fWidth, | 42 FX_FLOAT fWidth, |
| 43 const CPVT_Color& color, | 43 const CPVT_Color& color, |
| 44 const CPVT_Color& crLeftTop, | 44 const CPVT_Color& crLeftTop, |
| 45 const CPVT_Color& crRightBottom, | 45 const CPVT_Color& crRightBottom, |
| 46 BorderStyle nStyle, | 46 BorderStyle nStyle, |
| 47 const CPVT_Dash& dash); | 47 const CPVT_Dash& dash); |
| 48 static CFX_ByteString GenerateColorAP(const CPVT_Color& color, | 48 static CFX_ByteString GenerateColorAP(const CPVT_Color& color, |
| 49 const FX_BOOL& bFillOrStroke); | 49 PaintOperation nOperation); |
| 50 | 50 |
| 51 static CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap, | 51 static CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap, |
| 52 int32_t nFontIndex, | 52 int32_t nFontIndex, |
| 53 uint16_t Word, | 53 uint16_t Word, |
| 54 uint16_t SubWord); | 54 uint16_t SubWord); |
| 55 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); | 55 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); |
| 56 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, | 56 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, |
| 57 int32_t nFontIndex, | 57 int32_t nFontIndex, |
| 58 FX_FLOAT fFontSize); | 58 FX_FLOAT fFontSize); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 61 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
| OLD | NEW |