| 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/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| 11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "core/fxge/include/fx_dib.h" | 12 #include "core/fxge/include/fx_dib.h" |
| 13 #include "core/fxge/include/fx_ge.h" | |
| 14 #include "xfa/fde/cfde_path.h" | 13 #include "xfa/fde/cfde_path.h" |
| 15 #include "xfa/fde/fde_object.h" | 14 #include "xfa/fde/fde_object.h" |
| 16 #include "xfa/fgas/crt/fgas_memory.h" | 15 #include "xfa/fgas/crt/fgas_memory.h" |
| 17 #include "xfa/fgas/font/fgas_font.h" | 16 #include "xfa/fgas/font/fgas_font.h" |
| 18 | 17 |
| 19 enum FDE_VISUALOBJTYPE { | 18 enum FDE_VISUALOBJTYPE { |
| 20 FDE_VISUALOBJ_Canvas = 0x00, | 19 FDE_VISUALOBJ_Canvas = 0x00, |
| 21 FDE_VISUALOBJ_Text = 0x01 | 20 FDE_VISUALOBJ_Text = 0x01 |
| 22 }; | 21 }; |
| 23 | 22 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 51 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0; | 50 virtual FX_ARGB GetFontColor(FDE_HVISUALOBJ hText) = 0; |
| 52 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText, | 51 virtual int32_t GetDisplayPos(FDE_HVISUALOBJ hText, |
| 53 FXTEXT_CHARPOS* pCharPos, | 52 FXTEXT_CHARPOS* pCharPos, |
| 54 FX_BOOL bCharCode = FALSE, | 53 FX_BOOL bCharCode = FALSE, |
| 55 CFX_WideString* pWSForms = NULL) = 0; | 54 CFX_WideString* pWSForms = NULL) = 0; |
| 56 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText, | 55 virtual int32_t GetCharRects(FDE_HVISUALOBJ hText, |
| 57 CFX_RectFArray& rtArray) = 0; | 56 CFX_RectFArray& rtArray) = 0; |
| 58 }; | 57 }; |
| 59 | 58 |
| 60 #endif // XFA_FDE_FDE_VISUALSET_H_ | 59 #endif // XFA_FDE_FDE_VISUALSET_H_ |
| OLD | NEW |