| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef XFA_SRC_FXFA_APP_XFA_FFPATH_H_ | |
| 8 #define XFA_SRC_FXFA_APP_XFA_FFPATH_H_ | |
| 9 | |
| 10 #include "xfa/src/fxfa/app/xfa_ffdraw.h" | |
| 11 | |
| 12 class CXFA_FFLine : public CXFA_FFDraw { | |
| 13 public: | |
| 14 CXFA_FFLine(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | |
| 15 virtual ~CXFA_FFLine(); | |
| 16 virtual void RenderWidget(CFX_Graphics* pGS, | |
| 17 CFX_Matrix* pMatrix = NULL, | |
| 18 FX_DWORD dwStatus = 0, | |
| 19 int32_t iRotate = 0); | |
| 20 | |
| 21 private: | |
| 22 void GetRectFromHand(CFX_RectF& rect, int32_t iHand, FX_FLOAT fLineWidth); | |
| 23 }; | |
| 24 class CXFA_FFArc : public CXFA_FFDraw { | |
| 25 public: | |
| 26 CXFA_FFArc(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | |
| 27 virtual ~CXFA_FFArc(); | |
| 28 virtual void RenderWidget(CFX_Graphics* pGS, | |
| 29 CFX_Matrix* pMatrix = NULL, | |
| 30 FX_DWORD dwStatus = 0, | |
| 31 int32_t iRotate = 0); | |
| 32 }; | |
| 33 class CXFA_FFRectangle : public CXFA_FFDraw { | |
| 34 public: | |
| 35 CXFA_FFRectangle(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | |
| 36 virtual ~CXFA_FFRectangle(); | |
| 37 virtual void RenderWidget(CFX_Graphics* pGS, | |
| 38 CFX_Matrix* pMatrix = NULL, | |
| 39 FX_DWORD dwStatus = 0, | |
| 40 int32_t iRotate = 0); | |
| 41 }; | |
| 42 | |
| 43 #endif // XFA_SRC_FXFA_APP_XFA_FFPATH_H_ | |
| OLD | NEW |