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_Code128 Class Referencefinal

#include <cbc_code128.h>

+ Inheritance diagram for CBC_Code128:
+ Collaboration diagram for CBC_Code128:

Public Member Functions

 CBC_Code128 (BC_TYPE type)
 
 ~CBC_Code128 () override
 
BC_TYPE GetType () override
 
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 ()
 
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 17 of file cbc_code128.h.

Constructor & Destructor Documentation

◆ CBC_Code128()

CBC_Code128::CBC_Code128 ( BC_TYPE type)
explicit

Definition at line 29 of file cbc_code128.cpp.

◆ ~CBC_Code128()

CBC_Code128::~CBC_Code128 ( )
overridedefault

Member Function Documentation

◆ Encode()

bool CBC_Code128::Encode ( WideStringView contents)
overridevirtual

Implements CBC_CodeBase.

Definition at line 34 of file cbc_code128.cpp.

References CBC_OnedCode128Writer::CheckContentValidity(), CBC_OnedCode128Writer::GetType(), kCode128C, and fxcrt::WideString::operator+=().

+ Here is the call graph for this function:

◆ GetType()

BC_TYPE CBC_Code128::GetType ( )
overridevirtual

Implements CBC_CodeBase.

Definition at line 55 of file cbc_code128.cpp.

References kCode128.

◆ RenderDevice()

bool CBC_Code128::RenderDevice ( CFX_RenderDevice * device,
const CFX_Matrix & matrix )
overridevirtual

Implements CBC_CodeBase.

Definition at line 49 of file cbc_code128.cpp.


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