| 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_INCLUDE_FXFA_XFA_FFWIDGET_H_ | 7 #ifndef XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ |
| 8 #define XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ | 8 #define XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 int32_t& iImageYDpi); | 162 int32_t& iImageYDpi); |
| 163 CFX_DIBitmap* XFA_LoadImageFromBuffer(IFX_FileRead* pImageFileRead, | 163 CFX_DIBitmap* XFA_LoadImageFromBuffer(IFX_FileRead* pImageFileRead, |
| 164 FXCODEC_IMAGE_TYPE type, | 164 FXCODEC_IMAGE_TYPE type, |
| 165 int32_t& iImageXDpi, | 165 int32_t& iImageXDpi, |
| 166 int32_t& iImageYDpi); | 166 int32_t& iImageYDpi); |
| 167 FXCODEC_IMAGE_TYPE XFA_GetImageType(const CFX_WideString& wsType); | 167 FXCODEC_IMAGE_TYPE XFA_GetImageType(const CFX_WideString& wsType); |
| 168 FX_CHAR* XFA_Base64Encode(const uint8_t* buf, int32_t buf_len); | 168 FX_CHAR* XFA_Base64Encode(const uint8_t* buf, int32_t buf_len); |
| 169 void XFA_RectWidthoutMargin(CFX_RectF& rt, | 169 void XFA_RectWidthoutMargin(CFX_RectF& rt, |
| 170 const CXFA_Margin& mg, | 170 const CXFA_Margin& mg, |
| 171 FX_BOOL bUI = FALSE); | 171 FX_BOOL bUI = FALSE); |
| 172 FX_FLOAT XFA_GetEdgeThickness(const CXFA_StrokeArray& strokes, | |
| 173 FX_BOOL b3DStyle, | |
| 174 int32_t nIndex); | |
| 175 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem); | 172 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem); |
| 176 FX_BOOL XFA_IsCreateWidget(XFA_ELEMENT iType); | 173 FX_BOOL XFA_IsCreateWidget(XFA_ELEMENT iType); |
| 177 #define XFA_DRAWBOX_ForceRound 1 | 174 #define XFA_DRAWBOX_ForceRound 1 |
| 178 #define XFA_DRAWBOX_Lowered3D 2 | 175 #define XFA_DRAWBOX_Lowered3D 2 |
| 179 void XFA_DrawBox(CXFA_Box box, | 176 void XFA_DrawBox(CXFA_Box box, |
| 180 CFX_Graphics* pGS, | 177 CFX_Graphics* pGS, |
| 181 const CFX_RectF& rtWidget, | 178 const CFX_RectF& rtWidget, |
| 182 CFX_Matrix* pMatrix, | 179 CFX_Matrix* pMatrix, |
| 183 uint32_t dwFlags = 0); | 180 uint32_t dwFlags = 0); |
| 184 | 181 |
| 185 #endif // XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ | 182 #endif // XFA_INCLUDE_FXFA_XFA_FFWIDGET_H_ |
| OLD | NEW |