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

Side by Side Diff: core/fpdfapi/render/cpdf_textrenderer.h

Issue 2477443002: Remove FX_BOOL from core (Closed)
Patch Set: Created 4 years, 1 month 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/fpdfapi/render/cpdf_pagerendercache.h ('k') | core/fpdfapi/render/cpdf_type3cache.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 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_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_ 7 #ifndef CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
8 #define CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_ 8 #define CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
9 9
10 #include "core/fxcrt/fx_coordinates.h" 10 #include "core/fxcrt/fx_coordinates.h"
(...skipping 14 matching lines...) Expand all
25 FX_FLOAT origin_y, 25 FX_FLOAT origin_y,
26 CPDF_Font* pFont, 26 CPDF_Font* pFont,
27 FX_FLOAT font_size, 27 FX_FLOAT font_size,
28 const CFX_Matrix* matrix, 28 const CFX_Matrix* matrix,
29 const CFX_ByteString& str, 29 const CFX_ByteString& str,
30 FX_ARGB fill_argb, 30 FX_ARGB fill_argb,
31 FX_ARGB stroke_argb, 31 FX_ARGB stroke_argb,
32 const CFX_GraphStateData* pGraphState, 32 const CFX_GraphStateData* pGraphState,
33 const CPDF_RenderOptions* pOptions); 33 const CPDF_RenderOptions* pOptions);
34 34
35 static FX_BOOL DrawTextPath(CFX_RenderDevice* pDevice, 35 static bool DrawTextPath(CFX_RenderDevice* pDevice,
36 int nChars, 36 int nChars,
37 uint32_t* pCharCodes, 37 uint32_t* pCharCodes,
38 FX_FLOAT* pCharPos, 38 FX_FLOAT* pCharPos,
39 CPDF_Font* pFont, 39 CPDF_Font* pFont,
40 FX_FLOAT font_size, 40 FX_FLOAT font_size,
41 const CFX_Matrix* pText2User, 41 const CFX_Matrix* pText2User,
42 const CFX_Matrix* pUser2Device, 42 const CFX_Matrix* pUser2Device,
43 const CFX_GraphStateData* pGraphState, 43 const CFX_GraphStateData* pGraphState,
44 FX_ARGB fill_argb, 44 FX_ARGB fill_argb,
45 FX_ARGB stroke_argb, 45 FX_ARGB stroke_argb,
46 CFX_PathData* pClippingPath, 46 CFX_PathData* pClippingPath,
47 int nFlag); 47 int nFlag);
48 48
49 static FX_BOOL DrawNormalText(CFX_RenderDevice* pDevice, 49 static bool DrawNormalText(CFX_RenderDevice* pDevice,
50 int nChars, 50 int nChars,
51 uint32_t* pCharCodes, 51 uint32_t* pCharCodes,
52 FX_FLOAT* pCharPos, 52 FX_FLOAT* pCharPos,
53 CPDF_Font* pFont, 53 CPDF_Font* pFont,
54 FX_FLOAT font_size, 54 FX_FLOAT font_size,
55 const CFX_Matrix* pText2Device, 55 const CFX_Matrix* pText2Device,
56 FX_ARGB fill_argb, 56 FX_ARGB fill_argb,
57 const CPDF_RenderOptions* pOptions); 57 const CPDF_RenderOptions* pOptions);
58 }; 58 };
59 59
60 #endif // CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_ 60 #endif // CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/render/cpdf_pagerendercache.h ('k') | core/fpdfapi/render/cpdf_type3cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698