| 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_INCLUDE_PDFWINDOW_PWL_UTILS_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
| 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
| 9 | 9 |
| 10 #include "PWL_Wnd.h" | 10 #include "PWL_Wnd.h" |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 const FX_COLORREF& color, | 213 const FX_COLORREF& color, |
| 214 FX_FLOAT fWidth); | 214 FX_FLOAT fWidth); |
| 215 static void DrawBorder(CFX_RenderDevice* pDevice, | 215 static void DrawBorder(CFX_RenderDevice* pDevice, |
| 216 CFX_Matrix* pUser2Device, | 216 CFX_Matrix* pUser2Device, |
| 217 const CPDF_Rect& rect, | 217 const CPDF_Rect& rect, |
| 218 FX_FLOAT fWidth, | 218 FX_FLOAT fWidth, |
| 219 const CPWL_Color& color, | 219 const CPWL_Color& color, |
| 220 const CPWL_Color& crLeftTop, | 220 const CPWL_Color& crLeftTop, |
| 221 const CPWL_Color& crRightBottom, | 221 const CPWL_Color& crRightBottom, |
| 222 int32_t nStyle, | 222 int32_t nStyle, |
| 223 const CPWL_Dash& dash, | |
| 224 int32_t nTransparancy); | 223 int32_t nTransparancy); |
| 225 static void DrawFillArea(CFX_RenderDevice* pDevice, | 224 static void DrawFillArea(CFX_RenderDevice* pDevice, |
| 226 CFX_Matrix* pUser2Device, | 225 CFX_Matrix* pUser2Device, |
| 227 const CPDF_Point* pPts, | 226 const CPDF_Point* pPts, |
| 228 int32_t nCount, | 227 int32_t nCount, |
| 229 const FX_COLORREF& color); | 228 const FX_COLORREF& color); |
| 230 static void DrawShadow(CFX_RenderDevice* pDevice, | 229 static void DrawShadow(CFX_RenderDevice* pDevice, |
| 231 CFX_Matrix* pUser2Device, | 230 CFX_Matrix* pUser2Device, |
| 232 FX_BOOL bVertical, | 231 FX_BOOL bVertical, |
| 233 FX_BOOL bHorizontal, | 232 FX_BOOL bHorizontal, |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 CFX_PathData& path, | 403 CFX_PathData& path, |
| 405 const CPDF_Rect& crBBox, | 404 const CPDF_Rect& crBBox, |
| 406 const PWL_PATH_TYPE type); | 405 const PWL_PATH_TYPE type); |
| 407 static void GetGraphics_Foxit(CFX_ByteString& sPathData, | 406 static void GetGraphics_Foxit(CFX_ByteString& sPathData, |
| 408 CFX_PathData& path, | 407 CFX_PathData& path, |
| 409 const CPDF_Rect& crBBox, | 408 const CPDF_Rect& crBBox, |
| 410 const PWL_PATH_TYPE type); | 409 const PWL_PATH_TYPE type); |
| 411 }; | 410 }; |
| 412 | 411 |
| 413 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ | 412 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
| OLD | NEW |