Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
BC_Writer.cpp
Go to the documentation of this file.
1
// Copyright 2014 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
include
"fxbarcode/BC_Writer.h"
8
9
CBC_Writer
::
CBC_Writer
() =
default
;
10
11
CBC_Writer
::~
CBC_Writer
() =
default
;
12
13
bool
CBC_Writer
::
SetModuleHeight
(int32_t moduleHeight) {
14
if
(moduleHeight > 10 || moduleHeight < 1)
15
return
false
;
16
17
m_ModuleHeight
= moduleHeight;
18
return
true
;
19
}
20
21
bool
CBC_Writer
::
SetModuleWidth
(int32_t moduleWidth) {
22
if
(moduleWidth > 10 || moduleWidth < 1)
23
return
false
;
24
25
m_ModuleWidth
= moduleWidth;
26
return
true
;
27
}
28
29
void
CBC_Writer
::
SetHeight
(int32_t height) {
30
m_Height
= height;
31
}
32
33
void
CBC_Writer
::
SetWidth
(int32_t width) {
34
m_Width
= width;
35
}
36
37
void
CBC_Writer
::
SetTextLocation
(
BC_TEXT_LOC
location) {}
38
39
bool
CBC_Writer
::
SetWideNarrowRatio
(int8_t ratio) {
40
return
false
;
41
}
42
43
bool
CBC_Writer
::
SetStartChar
(
char
start) {
44
return
false
;
45
}
46
47
bool
CBC_Writer
::
SetEndChar
(
char
end) {
48
return
false
;
49
}
50
51
bool
CBC_Writer
::
SetErrorCorrectionLevel
(int32_t level) {
52
return
false
;
53
}
BC_TEXT_LOC
BC_TEXT_LOC
Definition
BC_Library.h:12
CBC_Writer
Definition
BC_Writer.h:13
CBC_Writer::m_Width
int32_t m_Width
Definition
BC_Writer.h:36
CBC_Writer::SetWidth
void SetWidth(int32_t width)
Definition
BC_Writer.cpp:33
CBC_Writer::SetModuleWidth
bool SetModuleWidth(int32_t moduleWidth)
Definition
BC_Writer.cpp:21
CBC_Writer::SetErrorCorrectionLevel
virtual bool SetErrorCorrectionLevel(int32_t level)
Definition
BC_Writer.cpp:51
CBC_Writer::m_Height
int32_t m_Height
Definition
BC_Writer.h:35
CBC_Writer::SetEndChar
virtual bool SetEndChar(char end)
Definition
BC_Writer.cpp:47
CBC_Writer::SetStartChar
virtual bool SetStartChar(char start)
Definition
BC_Writer.cpp:43
CBC_Writer::SetModuleHeight
bool SetModuleHeight(int32_t moduleHeight)
Definition
BC_Writer.cpp:13
CBC_Writer::m_ModuleHeight
int32_t m_ModuleHeight
Definition
BC_Writer.h:33
CBC_Writer::~CBC_Writer
virtual ~CBC_Writer()
CBC_Writer::SetWideNarrowRatio
virtual bool SetWideNarrowRatio(int8_t ratio)
Definition
BC_Writer.cpp:39
CBC_Writer::SetHeight
void SetHeight(int32_t height)
Definition
BC_Writer.cpp:29
CBC_Writer::m_ModuleWidth
int32_t m_ModuleWidth
Definition
BC_Writer.h:34
CBC_Writer::SetTextLocation
virtual void SetTextLocation(BC_TEXT_LOC location)
Definition
BC_Writer.cpp:37
CBC_Writer::CBC_Writer
CBC_Writer()
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxbarcode
BC_Writer.cpp
Generated on
for Qt by
1.18.0