Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CBC_OneCode Class Reference

#include <cbc_onecode.h>

+ Inheritance diagram for CBC_OneCode:
+ Collaboration diagram for CBC_OneCode:

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)
 
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)
 

Additional Inherited Members

- Protected Attributes inherited from CBC_CodeBase
std::unique_ptr< CBC_Writerm_pBCWriter
 

Detailed Description

Definition at line 20 of file cbc_onecode.h.

Constructor & Destructor Documentation

◆ CBC_OneCode()

CBC_OneCode::CBC_OneCode ( std::unique_ptr< CBC_Writer > pWriter)
explicit

Definition at line 28 of file cbc_onecode.cpp.

◆ ~CBC_OneCode()

CBC_OneCode::~CBC_OneCode ( )
overridedefault

Member Function Documentation

◆ SetCalChecksum()

void CBC_OneCode::SetCalChecksum ( bool calc)

Definition at line 41 of file cbc_onecode.cpp.

References CBC_OneDimWriter::SetCalcChecksum().

+ Here is the call graph for this function:

◆ SetDataLength()

void CBC_OneCode::SetDataLength ( int32_t length)

Definition at line 37 of file cbc_onecode.cpp.

References CBC_OneDimWriter::SetDataLength().

+ Here is the call graph for this function:

◆ SetFont()

bool CBC_OneCode::SetFont ( CFX_Font * cFont)

Definition at line 45 of file cbc_onecode.cpp.

References CBC_OneDimWriter::SetFont().

+ Here is the call graph for this function:

◆ SetFontColor()

void CBC_OneCode::SetFontColor ( FX_ARGB color)

Definition at line 57 of file cbc_onecode.cpp.

References CBC_OneDimWriter::SetFontColor().

+ Here is the call graph for this function:

◆ SetFontSize()

void CBC_OneCode::SetFontSize ( float size)

Definition at line 49 of file cbc_onecode.cpp.

References CBC_OneDimWriter::SetFontSize().

+ Here is the call graph for this function:

◆ SetFontStyle()

void CBC_OneCode::SetFontStyle ( int32_t style)

Definition at line 53 of file cbc_onecode.cpp.

References CBC_OneDimWriter::SetFontStyle().

+ Here is the call graph for this function:

◆ SetPrintChecksum()

void CBC_OneCode::SetPrintChecksum ( bool checksum)

Definition at line 33 of file cbc_onecode.cpp.

References CBC_OneDimWriter::SetPrintChecksum().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: