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

Side by Side Diff: xfa/fde/fde_visualset.h

Issue 2037563002: Replace IFGAS_Font with underlying concrete type (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Fix Windows 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 XFA_FDE_FDE_VISUALSET_H_ 7 #ifndef XFA_FDE_FDE_VISUALSET_H_
8 #define XFA_FDE_FDE_VISUALSET_H_ 8 #define XFA_FDE_FDE_VISUALSET_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 27 matching lines...) Expand all
38 virtual FDE_HVISUALOBJ GetNext(FDE_HVISUALOBJ hCanvas, 38 virtual FDE_HVISUALOBJ GetNext(FDE_HVISUALOBJ hCanvas,
39 FX_POSITION& pos, 39 FX_POSITION& pos,
40 IFDE_VisualSet*& pVisualSet) = 0; 40 IFDE_VisualSet*& pVisualSet) = 0;
41 virtual FDE_HVISUALOBJ GetParentCanvas(FDE_HVISUALOBJ hCanvas, 41 virtual FDE_HVISUALOBJ GetParentCanvas(FDE_HVISUALOBJ hCanvas,
42 IFDE_VisualSet*& pVisualSet) = 0; 42 IFDE_VisualSet*& pVisualSet) = 0;
43 }; 43 };
44 44
45 class IFDE_TextSet : public IFDE_VisualSet { 45 class IFDE_TextSet : public IFDE_VisualSet {
46 public: 46 public:
47 virtual int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) = 0; 47 virtual int32_t GetString(FDE_HVISUALOBJ hText, CFX_WideString& wsText) = 0;
48 virtual IFX_Font* GetFont(FDE_HVISUALOBJ hText) = 0; 48 virtual CFX_GEFont* GetFont(FDE_HVISUALOBJ hText) = 0;
49 virtual FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) = 0; 49 virtual FX_FLOAT GetFontSize(FDE_HVISUALOBJ hText) = 0;
50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0; 50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0;
51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText, 51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText,
52 FXTEXT_CHARPOS* pCharPos, 52 FXTEXT_CHARPOS* pCharPos,
53 FX_BOOL bCharCode = FALSE, 53 FX_BOOL bCharCode = FALSE,
54 CFX_WideString* pWSForms = NULL) = 0; 54 CFX_WideString* pWSForms = NULL) = 0;
55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText, 55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText,
56 CFX_RectFArray& rtArray) = 0; 56 CFX_RectFArray& rtArray) = 0;
57 }; 57 };
58 58
59 #endif // XFA_FDE_FDE_VISUALSET_H_ 59 #endif // XFA_FDE_FDE_VISUALSET_H_
OLDNEW
« no previous file with comments | « xfa/fde/fde_render.cpp ('k') | xfa/fde/ifde_txtedtengine.h » ('j') | xfa/fgas/font/fgas_font.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698