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

#include <BC_DataMatrixWriter.h>

+ Inheritance diagram for CBC_DataMatrixWriter:
+ Collaboration diagram for CBC_DataMatrixWriter:

Public Member Functions

 CBC_DataMatrixWriter ()
 
 ~CBC_DataMatrixWriter () override
 
DataVector< uint8_t > Encode (const WideString &contents, int32_t *pOutWidth, int32_t *pOutHeight)
 
bool SetErrorCorrectionLevel (int32_t level) override
 
- Public Member Functions inherited from CBC_TwoDimWriter
 CBC_TwoDimWriter (bool bFixedSize)
 
 ~CBC_TwoDimWriter () override
 
bool RenderResult (pdfium::span< const uint8_t > code, int32_t codeWidth, int32_t codeHeight)
 
void RenderDeviceResult (CFX_RenderDevice *device, const CFX_Matrix &matrix)
 
int32_t error_correction_level () const
 
- Public Member Functions inherited from CBC_Writer
 CBC_Writer ()
 
virtual ~CBC_Writer ()
 
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)
 
virtual void SetTextLocation (BC_TEXT_LOC location)
 
virtual bool SetWideNarrowRatio (int8_t ratio)
 
virtual bool SetStartChar (char start)
 
virtual bool SetEndChar (char end)
 

Additional Inherited Members

- Protected Member Functions inherited from CBC_TwoDimWriter
void set_error_correction_level (int32_t level)
 
- Protected Attributes inherited from CBC_Writer
int32_t m_ModuleHeight = 1
 
int32_t m_ModuleWidth = 1
 
int32_t m_Height = 320
 
int32_t m_Width = 640
 
FXDIB_Format m_colorSpace = FXDIB_Format::kArgb
 
BC_CHAR_ENCODING m_CharEncoding = BC_CHAR_ENCODING::kUTF8
 
- Static Protected Attributes inherited from CBC_Writer
static const FX_ARGB kBarColor = 0xff000000
 
static const FX_ARGB kBackgroundColor = 0xffffffff
 

Detailed Description

Definition at line 16 of file BC_DataMatrixWriter.h.

Constructor & Destructor Documentation

◆ CBC_DataMatrixWriter()

CBC_DataMatrixWriter::CBC_DataMatrixWriter ( )

Definition at line 103 of file BC_DataMatrixWriter.cpp.

References CBC_TwoDimWriter::CBC_TwoDimWriter().

+ Here is the call graph for this function:

◆ ~CBC_DataMatrixWriter()

CBC_DataMatrixWriter::~CBC_DataMatrixWriter ( )
overridedefault

Member Function Documentation

◆ Encode()

DataVector< uint8_t > CBC_DataMatrixWriter::Encode ( const WideString & contents,
int32_t * pOutWidth,
int32_t * pOutHeight )

Definition at line 112 of file BC_DataMatrixWriter.cpp.

References CBC_ErrorCorrection::EncodeECC200(), CBC_HighLevelEncoder::EncodeHighLevel(), CBC_SymbolInfo::GetSymbolDataHeight(), CBC_SymbolInfo::GetSymbolDataWidth(), and fxcrt::WideString::IsEmpty().

+ Here is the call graph for this function:

◆ SetErrorCorrectionLevel()

bool CBC_DataMatrixWriter::SetErrorCorrectionLevel ( int32_t level)
overridevirtual

Reimplemented from CBC_Writer.

Definition at line 107 of file BC_DataMatrixWriter.cpp.

References CBC_TwoDimWriter::set_error_correction_level().

+ Here is the call graph for this function:

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