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

Side by Side Diff: xfa/src/fxbarcode/BC_UtilRSS.h

Issue 842043002: Organize barcode codes into modules. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 11 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/src/fxbarcode/BC_UtilCodingConvert.cpp ('k') | xfa/src/fxbarcode/BC_UtilRSS.cpp » ('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 _BC_UTILRESS_H_ 7 #ifndef _BC_UTILRESS_H_
8 #define _BC_UTILRESS_H_ 8 #define _BC_UTILRESS_H_
9 class CBC_RssPair; 9 class CBC_RssPair;
10 class CBC_UtilRSS : public CFX_Object 10 class CBC_UtilRSS : public CFX_Object
11 { 11 {
12 public: 12 public:
13 virtual ~CBC_UtilRSS(); 13 virtual ~CBC_UtilRSS();
14 static FX_INT32 GetRSSvalue(CFX_Int32Array &widths, FX_INT32 maxWidth, FX_BO OL noNarrow); 14 static FX_INT32 GetRSSvalue(CFX_Int32Array &widths, FX_INT32 maxWidth, FX_BO OL noNarrow);
15 15
16 protected: 16 protected:
17 static CFX_Int32Array *GetRssWidths(FX_INT32 val, FX_INT32 n, FX_INT32 eleme nts, FX_INT32 maxWidth, FX_BOOL noNarrow); 17 static CFX_Int32Array *GetRssWidths(FX_INT32 val, FX_INT32 n, FX_INT32 eleme nts, FX_INT32 maxWidth, FX_BOOL noNarrow);
18 static FX_INT32 Combins(FX_INT32 n, FX_INT32 r); 18 static FX_INT32 Combins(FX_INT32 n, FX_INT32 r);
19 static CFX_Int32Array *Elements(CFX_Int32Array &eDist, FX_INT32 N, FX_INT32 K); 19 static CFX_Int32Array *Elements(CFX_Int32Array &eDist, FX_INT32 N, FX_INT32 K);
20 private: 20 private:
21 CBC_UtilRSS(); 21 CBC_UtilRSS();
22 }; 22 };
23 #endif 23 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/BC_UtilCodingConvert.cpp ('k') | xfa/src/fxbarcode/BC_UtilRSS.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698