Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Side by Side Diff: xfa/fxfa/xfa_ffwidget.h

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/xfa_ffdoc.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_XFA_FFWIDGET_H_ 7 #ifndef XFA_FXFA_XFA_FFWIDGET_H_
8 #define XFA_FXFA_XFA_FFWIDGET_H_ 8 #define XFA_FXFA_XFA_FFWIDGET_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 int32_t iAspect, 157 int32_t iAspect,
158 int32_t iImageXDpi, 158 int32_t iImageXDpi,
159 int32_t iImageYDpi, 159 int32_t iImageYDpi,
160 int32_t iHorzAlign = XFA_ATTRIBUTEENUM_Left, 160 int32_t iHorzAlign = XFA_ATTRIBUTEENUM_Left,
161 int32_t iVertAlign = XFA_ATTRIBUTEENUM_Top); 161 int32_t iVertAlign = XFA_ATTRIBUTEENUM_Top);
162 CFX_DIBitmap* XFA_LoadImageData(CXFA_FFDoc* pDoc, 162 CFX_DIBitmap* XFA_LoadImageData(CXFA_FFDoc* pDoc,
163 CXFA_Image* pImage, 163 CXFA_Image* pImage,
164 FX_BOOL& bNameImage, 164 FX_BOOL& bNameImage,
165 int32_t& iImageXDpi, 165 int32_t& iImageXDpi,
166 int32_t& iImageYDpi); 166 int32_t& iImageYDpi);
167 CFX_DIBitmap* XFA_LoadImageFromBuffer(IFX_FileRead* pImageFileRead, 167 CFX_DIBitmap* XFA_LoadImageFromBuffer(IFX_SeekableReadStream* 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_XFA_FFWIDGET_H_ 186 #endif // XFA_FXFA_XFA_FFWIDGET_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/xfa_ffdoc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698