| 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 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/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
| 11 #include "core/fxcrt/fx_system.h" | 11 #include "core/fxcrt/fx_system.h" |
| 12 #include "core/fxge/fx_dib.h" | 12 #include "core/fxge/fx_dib.h" |
| 13 #include "xfa/fde/cfde_path.h" | 13 #include "xfa/fde/cfde_path.h" |
| 14 #include "xfa/fde/fde_object.h" | 14 #include "xfa/fde/fde_object.h" |
| 15 #include "xfa/fgas/crt/fgas_memory.h" | 15 #include "xfa/fgas/crt/fgas_memory.h" |
| 16 #include "xfa/fgas/font/fgas_font.h" | 16 #include "xfa/fgas/font/cfgas_fontmgr.h" |
| 17 | 17 |
| 18 struct FXTEXT_CHARPOS; | 18 struct FXTEXT_CHARPOS; |
| 19 | 19 |
| 20 enum FDE_VISUALOBJTYPE { | 20 enum FDE_VISUALOBJTYPE { |
| 21 FDE_VISUALOBJ_Canvas = 0x00, | 21 FDE_VISUALOBJ_Canvas = 0x00, |
| 22 FDE_VISUALOBJ_Text = 0x01 | 22 FDE_VISUALOBJ_Text = 0x01 |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 struct FDE_TEXTEDITPIECE { | 25 struct FDE_TEXTEDITPIECE { |
| 26 int32_t nStart; | 26 int32_t nStart; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 54 virtual int32_t GetDisplayPos(FDE_TEXTEDITPIECE* hText, | 54 virtual int32_t GetDisplayPos(FDE_TEXTEDITPIECE* hText, |
| 55 FXTEXT_CHARPOS* pCharPos, | 55 FXTEXT_CHARPOS* pCharPos, |
| 56 bool bCharCode = false, | 56 bool bCharCode = false, |
| 57 CFX_WideString* pWSForms = nullptr) = 0; | 57 CFX_WideString* pWSForms = nullptr) = 0; |
| 58 virtual int32_t GetCharRects(const FDE_TEXTEDITPIECE* hText, | 58 virtual int32_t GetCharRects(const FDE_TEXTEDITPIECE* hText, |
| 59 CFX_RectFArray& rtArray, | 59 CFX_RectFArray& rtArray, |
| 60 bool bbox) = 0; | 60 bool bbox) = 0; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 #endif // XFA_FDE_FDE_VISUALSET_H_ | 63 #endif // XFA_FDE_FDE_VISUALSET_H_ |
| OLD | NEW |