comparison mupdf-source/thirdparty/zxing-cpp/wrappers/ios/Sources/Wrapper/Writer/ZXIWriterOptions.h @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 // Copyright 2023 KURZ Digital Solutions GmbH
2 //
3 // SPDX-License-Identifier: Apache-2.0
4
5 #import <Foundation/Foundation.h>
6 #import "ZXIFormat.h"
7
8 NS_ASSUME_NONNULL_BEGIN
9
10 extern const int AZTEC_ERROR_CORRECTION_0;
11 extern const int AZTEC_ERROR_CORRECTION_12;
12 extern const int AZTEC_ERROR_CORRECTION_25;
13 extern const int AZTEC_ERROR_CORRECTION_37;
14 extern const int AZTEC_ERROR_CORRECTION_50;
15 extern const int AZTEC_ERROR_CORRECTION_62;
16 extern const int AZTEC_ERROR_CORRECTION_75;
17 extern const int AZTEC_ERROR_CORRECTION_87;
18 extern const int AZTEC_ERROR_CORRECTION_100;
19 extern const int QR_ERROR_CORRECTION_LOW;
20 extern const int QR_ERROR_CORRECTION_MEDIUM;
21 extern const int QR_ERROR_CORRECTION_QUARTILE;
22 extern const int QR_ERROR_CORRECTION_HIGH;
23 extern const int PDF417_ERROR_CORRECTION_0;
24 extern const int PDF417_ERROR_CORRECTION_1;
25 extern const int PDF417_ERROR_CORRECTION_2;
26 extern const int PDF417_ERROR_CORRECTION_3;
27 extern const int PDF417_ERROR_CORRECTION_4;
28 extern const int PDF417_ERROR_CORRECTION_5;
29 extern const int PDF417_ERROR_CORRECTION_6;
30 extern const int PDF417_ERROR_CORRECTION_7;
31 extern const int PDF417_ERROR_CORRECTION_8;
32
33 @interface ZXIWriterOptions : NSObject
34 @property(nonatomic) ZXIFormat format;
35 @property(nonatomic) int width;
36 @property(nonatomic) int height;
37 @property(nonatomic) int ecLevel;
38 @property(nonatomic) int margin;
39
40 - (instancetype)initWithFormat:(ZXIFormat)format;
41
42 - (instancetype)initWithFormat:(ZXIFormat)format
43 width:(int)width
44 height:(int)height
45 ecLevel:(int)ecLevel
46 margin:(int)margin;
47 @end
48
49 NS_ASSUME_NONNULL_END