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