![]() |
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_eancode.h>
Public Member Functions | |
| CBC_EANCode (std::unique_ptr< CBC_OneDimEANWriter > pWriter) | |
| ~CBC_EANCode () override | |
| virtual size_t | GetMaxLength () const =0 |
| bool | Encode (WideStringView contents) override |
| bool | RenderDevice (CFX_RenderDevice *device, const CFX_Matrix &matrix) override |
| Public Member Functions inherited from CBC_OneCode | |
| 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 |
| 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) |
Protected Member Functions | |
| CBC_OneDimEANWriter * | GetOneDimEANWriter () |
| WideString | Preprocess (WideStringView contents) |
Protected Attributes | |
| WideString | m_renderContents |
| Protected Attributes inherited from CBC_CodeBase | |
| std::unique_ptr< CBC_Writer > | m_pBCWriter |
Definition at line 17 of file cbc_eancode.h.
|
explicit |
Definition at line 14 of file cbc_eancode.cpp.
|
overridedefault |
|
overridevirtual |
Implements CBC_CodeBase.
Definition at line 23 of file cbc_eancode.cpp.
References CBC_OneDimWriter::CheckContentValidity(), GetOneDimEANWriter(), and CBC_OneDimEANWriter::InitEANWriter().
|
pure virtual |
|
protected |
Definition at line 19 of file cbc_eancode.cpp.
Referenced by Encode(), and Preprocess().
|
protected |
Definition at line 41 of file cbc_eancode.cpp.
References CBC_OneDimEANWriter::CalcChecksum(), CBC_OneDimWriter::FilterContents(), fxcrt::WideString::FromUTF8(), GetOneDimEANWriter(), fxcrt::ByteString::operator+=(), and fxcrt::WideString::ToUTF8().
|
overridevirtual |
Implements CBC_CodeBase.
Definition at line 35 of file cbc_eancode.cpp.
|
protected |
Definition at line 33 of file cbc_eancode.h.