![]() |
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_onecode.h>
Public Member Functions | |
CBC_OneCode (std::unique_ptr< CBC_Writer > pWriter) | |
~CBC_OneCode () override | |
void | SetPrintChecksum (bool checksum) |
void | SetDataLength (int32_t length) |
void | SetCalChecksum (bool calc) |
bool | SetFont (CFX_Font *cFont) |
void | SetFontSize (float size) |
void | SetFontStyle (int32_t style) |
void | SetFontColor (FX_ARGB color) |
Public Member Functions inherited from CBC_CodeBase | |
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) |
bool | SetModuleHeight (int32_t moduleHeight) |
bool | SetModuleWidth (int32_t moduleWidth) |
void | SetHeight (int32_t height) |
void | SetWidth (int32_t width) |
Additional Inherited Members | |
Protected Attributes inherited from CBC_CodeBase | |
std::unique_ptr< CBC_Writer > | m_pBCWriter |
Definition at line 20 of file cbc_onecode.h.
|
explicit |
Definition at line 28 of file cbc_onecode.cpp.
|
overridedefault |
void CBC_OneCode::SetCalChecksum | ( | bool | calc | ) |
Definition at line 41 of file cbc_onecode.cpp.
References CBC_OneDimWriter::SetCalcChecksum().
void CBC_OneCode::SetDataLength | ( | int32_t | length | ) |
Definition at line 37 of file cbc_onecode.cpp.
References CBC_OneDimWriter::SetDataLength().
bool CBC_OneCode::SetFont | ( | CFX_Font * | cFont | ) |
Definition at line 45 of file cbc_onecode.cpp.
References CBC_OneDimWriter::SetFont().
Definition at line 57 of file cbc_onecode.cpp.
References CBC_OneDimWriter::SetFontColor().
void CBC_OneCode::SetFontSize | ( | float | size | ) |
Definition at line 49 of file cbc_onecode.cpp.
References CBC_OneDimWriter::SetFontSize().
void CBC_OneCode::SetFontStyle | ( | int32_t | style | ) |
Definition at line 53 of file cbc_onecode.cpp.
References CBC_OneDimWriter::SetFontStyle().
void CBC_OneCode::SetPrintChecksum | ( | bool | checksum | ) |
Definition at line 33 of file cbc_onecode.cpp.
References CBC_OneDimWriter::SetPrintChecksum().