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

Side by Side Diff: xfa/include/fwl/basewidget/fxmath_barcode.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months 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/include/fwl/basewidget/fwl_tooltipctrl.h ('k') | xfa/include/fwl/core/fwl_app.h » ('j') | 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 _FXMATH_BARCODE_H_ 7 #ifndef _FXMATH_BARCODE_H_
8 #define _FXMATH_BARCODE_H_ 8 #define _FXMATH_BARCODE_H_
9 class IFX_Barcode 9 class IFX_Barcode
10 { 10 {
11 public: 11 public:
12 virtual void Release() = 0; 12 virtual void Release() = 0;
13 virtual BC_TYPE GetType() = 0; 13 virtual BC_TYPE GetType() = 0;
14 virtual FX_BOOL» » » Encode(FX_WSTR contents, FX_BOOL isDevic e, FX_INT32 &e) = 0; 14 virtual FX_BOOL» » » Encode(FX_WSTR contents, FX_BOOL isDevic e, int32_t &e) = 0;
15 virtual FX_BOOL» » » RenderDevice(CFX_RenderDevice* device, c onst CFX_Matrix* matirx, FX_INT32 &e) = 0; 15 virtual FX_BOOL» » » RenderDevice(CFX_RenderDevice* device, c onst CFX_Matrix* matirx, int32_t &e) = 0;
16 virtual FX_BOOL» » » RenderBitmap(CFX_DIBitmap *&pOutBitmap, FX_INT32 &e) = 0; 16 virtual FX_BOOL» » » RenderBitmap(CFX_DIBitmap *&pOutBitmap, int32_t &e) = 0;
17 virtual CFX_WideString» Decode(FX_BYTE* buf, FX_INT32 width, FX_INT32 he ight, FX_INT32 &errorCode) = 0; 17 virtual CFX_WideString» Decode(uint8_t* buf, int32_t width, int32_t heig ht, int32_t &errorCode) = 0;
18 virtual CFX_WideString» Decode(CFX_DIBitmap *pBitmap, FX_INT32 &errorCod e) = 0; 18 virtual CFX_WideString» Decode(CFX_DIBitmap *pBitmap, int32_t &errorCode ) = 0;
19 virtual FX_BOOL SetCharEncoding(BC_CHAR_ENCODING encodin g) = 0; 19 virtual FX_BOOL SetCharEncoding(BC_CHAR_ENCODING encodin g) = 0;
20 virtual FX_BOOL» » » SetModuleHeight(FX_INT32 moduleHeight) = 0; 20 virtual FX_BOOL» » » SetModuleHeight(int32_t moduleHeight) = 0;
21 virtual FX_BOOL» » » SetModuleWidth(FX_INT32 moduleWidth) = 0 ; 21 virtual FX_BOOL» » » SetModuleWidth(int32_t moduleWidth) = 0;
22 virtual FX_BOOL» » » SetHeight(FX_INT32 height) = 0; 22 virtual FX_BOOL» » » SetHeight(int32_t height) = 0;
23 virtual FX_BOOL» » » SetWidth(FX_INT32 width) = 0; 23 virtual FX_BOOL» » » SetWidth(int32_t width) = 0;
24 virtual FX_BOOL CheckContentValidity(FX_WSTR contents) = 0; 24 virtual FX_BOOL CheckContentValidity(FX_WSTR contents) = 0;
25 virtual FX_BOOL SetPrintChecksum(FX_BOOL checksum) = 0; 25 virtual FX_BOOL SetPrintChecksum(FX_BOOL checksum) = 0;
26 virtual FX_BOOL» » » SetDataLength(FX_INT32 length) = 0; 26 virtual FX_BOOL» » » SetDataLength(int32_t length) = 0;
27 virtual FX_BOOL» » » SetCalChecksum(FX_INT32 state) = 0; 27 virtual FX_BOOL» » » SetCalChecksum(int32_t state) = 0;
28 virtual FX_BOOL SetFont(CFX_Font* pFont) = 0; 28 virtual FX_BOOL SetFont(CFX_Font* pFont) = 0;
29 virtual FX_BOOL SetFontSize(FX_FLOAT size) = 0; 29 virtual FX_BOOL SetFontSize(FX_FLOAT size) = 0;
30 virtual FX_BOOL» » » SetFontStyle(FX_INT32 style) = 0; 30 virtual FX_BOOL» » » SetFontStyle(int32_t style) = 0;
31 virtual FX_BOOL SetFontColor(FX_ARGB color) = 0; 31 virtual FX_BOOL SetFontColor(FX_ARGB color) = 0;
32 virtual FX_BOOL SetTextLocation(BC_TEXT_LOC location) = 0; 32 virtual FX_BOOL SetTextLocation(BC_TEXT_LOC location) = 0;
33 virtual FX_BOOL» » » SetWideNarrowRatio(FX_INT32 ratio) = 0; 33 virtual FX_BOOL» » » SetWideNarrowRatio(int32_t ratio) = 0;
34 virtual FX_BOOL SetStartChar(FX_CHAR start) = 0; 34 virtual FX_BOOL SetStartChar(FX_CHAR start) = 0;
35 virtual FX_BOOL SetEndChar(FX_CHAR end) = 0; 35 virtual FX_BOOL SetEndChar(FX_CHAR end) = 0;
36 virtual FX_BOOL» » » SetVersion(FX_INT32 version) = 0; 36 virtual FX_BOOL» » » SetVersion(int32_t version) = 0;
37 virtual FX_BOOL» » » SetErrorCorrectionLevel (FX_INT32 level) = 0; 37 virtual FX_BOOL» » » SetErrorCorrectionLevel (int32_t level) = 0;
38 virtual FX_BOOL SetTruncated(FX_BOOL truncated) = 0; 38 virtual FX_BOOL SetTruncated(FX_BOOL truncated) = 0;
39 }; 39 };
40 IFX_Barcode* FX_Barcode_Create(BC_TYPE type); 40 IFX_Barcode* FX_Barcode_Create(BC_TYPE type);
41 #endif 41 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_tooltipctrl.h ('k') | xfa/include/fwl/core/fwl_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698