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 _PWL_UTILS_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
8 #define _PWL_UTILS_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
9 | 9 |
10 #include "../../../core/include/fpdfapi/fpdf_parser.h" // For CPDF_Point. | 10 #include "../../../core/include/fpdfapi/fpdf_parser.h" // For CPDF_Point. |
11 #include "../../../core/include/fpdfdoc/fpdf_vt.h" // For CPVT_WordRange. | 11 #include "../../../core/include/fpdfdoc/fpdf_vt.h" // For CPVT_WordRange. |
12 #include "../fxedit/fx_edit.h" | 12 #include "../fxedit/fx_edit.h" |
13 #include "PWL_Wnd.h" | 13 #include "PWL_Wnd.h" |
14 | 14 |
15 class CFX_PathData; | 15 class CFX_PathData; |
16 struct CPWL_Color; | 16 struct CPWL_Color; |
17 | 17 |
18 template<class T> T PWL_MIN (const T & i, const T & j) { return ((i < j) ? i : j
); } | 18 template<class T> T PWL_MIN (const T & i, const T & j) { return ((i < j) ? i : j
); } |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 static void
GetGraphics_Star(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect&
crBBox, const PWL_PATH_TYPE type); | 233 static void
GetGraphics_Star(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect&
crBBox, const PWL_PATH_TYPE type); |
234 static void
GetGraphics_UpArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Re
ct& crBBox, const PWL_PATH_TYPE type); | 234 static void
GetGraphics_UpArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Re
ct& crBBox, const PWL_PATH_TYPE type); |
235 static void
GetGraphics_UpLeftArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPD
F_Rect& crBBox, const PWL_PATH_TYPE type); | 235 static void
GetGraphics_UpLeftArrow(CFX_ByteString& sPathData, CFX_PathData& path, const CPD
F_Rect& crBBox, const PWL_PATH_TYPE type); |
236 static void
GetGraphics_Graph(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect
& crBBox, const PWL_PATH_TYPE type); | 236 static void
GetGraphics_Graph(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect
& crBBox, const PWL_PATH_TYPE type); |
237 static void
GetGraphics_Paperclip(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_
Rect& crBBox, const PWL_PATH_TYPE type); | 237 static void
GetGraphics_Paperclip(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_
Rect& crBBox, const PWL_PATH_TYPE type); |
238 static void
GetGraphics_Attachment(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF
_Rect& crBBox, const PWL_PATH_TYPE type); | 238 static void
GetGraphics_Attachment(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF
_Rect& crBBox, const PWL_PATH_TYPE type); |
239 static void
GetGraphics_Tag(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect&
crBBox, const PWL_PATH_TYPE type); | 239 static void
GetGraphics_Tag(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect&
crBBox, const PWL_PATH_TYPE type); |
240 static void
GetGraphics_Foxit(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect
& crBBox, const PWL_PATH_TYPE type); | 240 static void
GetGraphics_Foxit(CFX_ByteString& sPathData, CFX_PathData& path, const CPDF_Rect
& crBBox, const PWL_PATH_TYPE type); |
241 }; | 241 }; |
242 | 242 |
243 #endif // !defined(AFX_PWL_UTILS_H__D32812AD_A875_4E08_9D3C_0A57020987C6__INCLUD
ED_) | 243 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
244 | |
245 | |
OLD | NEW |