Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cbc_codebase.h>
Public Member Functions | |
CBC_CodeBase (std::unique_ptr< CBC_Writer > pWriter) | |
virtual | ~CBC_CodeBase () |
virtual BC_TYPE | GetType ()=0 |
virtual bool | Encode (WideStringView contents)=0 |
virtual bool | RenderDevice (CFX_RenderDevice *device, const CFX_Matrix &matrix)=0 |
void | SetTextLocation (BC_TEXT_LOC location) |
bool | SetWideNarrowRatio (int8_t ratio) |
bool | SetStartChar (char start) |
bool | SetEndChar (char end) |
bool | SetErrorCorrectionLevel (int32_t level) |
void | SetCharEncoding (BC_CHAR_ENCODING encoding) |
bool | SetModuleHeight (int32_t moduleHeight) |
bool | SetModuleWidth (int32_t moduleWidth) |
void | SetHeight (int32_t height) |
void | SetWidth (int32_t width) |
Protected Attributes | |
std::unique_ptr< CBC_Writer > | m_pBCWriter |
Definition at line 22 of file cbc_codebase.h.
|
explicit |
Definition at line 28 of file cbc_codebase.cpp.
References CBC_CodeBase().
Referenced by CBC_CodeBase().
|
virtualdefault |
|
pure virtual |
Implemented in CBC_Codabar, CBC_Code128, CBC_Code39, CBC_DataMatrix, CBC_EANCode, CBC_PDF417I, and CBC_QRCode.
|
pure virtual |
Implemented in CBC_Codabar, CBC_Code128, CBC_Code39, CBC_DataMatrix, CBC_EAN13, CBC_EAN8, CBC_PDF417I, CBC_QRCode, and CBC_UPCA.
|
pure virtual |
Implemented in CBC_Codabar, CBC_Code128, CBC_Code39, CBC_DataMatrix, CBC_EANCode, CBC_PDF417I, and CBC_QRCode.
void CBC_CodeBase::SetCharEncoding | ( | BC_CHAR_ENCODING | encoding | ) |
Definition at line 53 of file cbc_codebase.cpp.
bool CBC_CodeBase::SetEndChar | ( | char | end | ) |
Definition at line 45 of file cbc_codebase.cpp.
bool CBC_CodeBase::SetErrorCorrectionLevel | ( | int32_t | level | ) |
Definition at line 49 of file cbc_codebase.cpp.
void CBC_CodeBase::SetHeight | ( | int32_t | height | ) |
Definition at line 65 of file cbc_codebase.cpp.
bool CBC_CodeBase::SetModuleHeight | ( | int32_t | moduleHeight | ) |
Definition at line 57 of file cbc_codebase.cpp.
bool CBC_CodeBase::SetModuleWidth | ( | int32_t | moduleWidth | ) |
Definition at line 61 of file cbc_codebase.cpp.
bool CBC_CodeBase::SetStartChar | ( | char | start | ) |
Definition at line 41 of file cbc_codebase.cpp.
void CBC_CodeBase::SetTextLocation | ( | BC_TEXT_LOC | location | ) |
Definition at line 33 of file cbc_codebase.cpp.
bool CBC_CodeBase::SetWideNarrowRatio | ( | int8_t | ratio | ) |
Definition at line 37 of file cbc_codebase.cpp.
void CBC_CodeBase::SetWidth | ( | int32_t | width | ) |
Definition at line 69 of file cbc_codebase.cpp.
|
protected |
Definition at line 44 of file cbc_codebase.h.