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 FPDFSDK_PDFWINDOW_PWL_UTILS_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_UTILS_H_ |
8 #define FPDFSDK_PDFWINDOW_PWL_UTILS_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_UTILS_H_ |
9 | 9 |
10 #include "core/fpdfdoc/include/cpvt_wordrange.h" | 10 #include "core/fpdfdoc/cpvt_wordrange.h" |
11 #include "fpdfsdk/pdfwindow/PWL_Wnd.h" | 11 #include "fpdfsdk/pdfwindow/PWL_Wnd.h" |
12 | 12 |
13 class CFX_Edit; | 13 class CFX_Edit; |
14 class CFX_PathData; | 14 class CFX_PathData; |
15 | 15 |
16 struct CPWL_Color; | 16 struct CPWL_Color; |
17 | 17 |
18 template <class T> | 18 template <class T> |
19 T PWL_MIN(const T& i, const T& j) { | 19 T PWL_MIN(const T& i, const T& j) { |
20 return ((i < j) ? i : j); | 20 return ((i < j) ? i : j); |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 CFX_PathData& path, | 390 CFX_PathData& path, |
391 const CFX_FloatRect& crBBox, | 391 const CFX_FloatRect& crBBox, |
392 const PWL_PATH_TYPE type); | 392 const PWL_PATH_TYPE type); |
393 static void GetGraphics_Foxit(CFX_ByteString& sPathData, | 393 static void GetGraphics_Foxit(CFX_ByteString& sPathData, |
394 CFX_PathData& path, | 394 CFX_PathData& path, |
395 const CFX_FloatRect& crBBox, | 395 const CFX_FloatRect& crBBox, |
396 const PWL_PATH_TYPE type); | 396 const PWL_PATH_TYPE type); |
397 }; | 397 }; |
398 | 398 |
399 #endif // FPDFSDK_PDFWINDOW_PWL_UTILS_H_ | 399 #endif // FPDFSDK_PDFWINDOW_PWL_UTILS_H_ |
OLD | NEW |