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

#include <cbc_code39.h>

+ Inheritance diagram for CBC_Code39:
+ Collaboration diagram for CBC_Code39:

Public Member Functions

 CBC_Code39 ()
 
 ~CBC_Code39 () 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 18 of file cbc_code39.h.

Constructor & Destructor Documentation

◆ CBC_Code39()

CBC_Code39::CBC_Code39 ( )

Definition at line 29 of file cbc_code39.cpp.

◆ ~CBC_Code39()

CBC_Code39::~CBC_Code39 ( )
overridedefault

Member Function Documentation

◆ Encode()

bool CBC_Code39::Encode ( WideStringView contents)
overridevirtual

Implements CBC_CodeBase.

Definition at line 34 of file cbc_code39.cpp.

References CBC_OnedCode39Writer::CheckContentValidity(), CBC_OnedCode39Writer::FilterContents(), and fxcrt::WideString::ToUTF8().

+ Here is the call graph for this function:

◆ GetType()

BC_TYPE CBC_Code39::GetType ( )
overridevirtual

Implements CBC_CodeBase.

Definition at line 55 of file cbc_code39.cpp.

References kCode39.

◆ RenderDevice()

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

Implements CBC_CodeBase.

Definition at line 46 of file cbc_code39.cpp.

References CBC_OneDimWriter::RenderDeviceResult().

+ Here is the call graph for this function:

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