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

#include <BC_PDF417Writer.h>

+ Inheritance diagram for CBC_PDF417Writer:
+ Collaboration diagram for CBC_PDF417Writer:

Public Member Functions

 CBC_PDF417Writer ()
 
 ~CBC_PDF417Writer () override
 
DataVector< uint8_t > Encode (WideStringView 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 17 of file BC_PDF417Writer.h.

Constructor & Destructor Documentation

◆ CBC_PDF417Writer()

CBC_PDF417Writer::CBC_PDF417Writer ( )

Definition at line 37 of file BC_PDF417Writer.cpp.

References CBC_TwoDimWriter::CBC_TwoDimWriter().

+ Here is the call graph for this function:

◆ ~CBC_PDF417Writer()

CBC_PDF417Writer::~CBC_PDF417Writer ( )
overridedefault

Member Function Documentation

◆ Encode()

DataVector< uint8_t > CBC_PDF417Writer::Encode ( WideStringView contents,
int32_t * pOutWidth,
int32_t * pOutHeight )

Definition at line 49 of file BC_PDF417Writer.cpp.

References CBC_TwoDimWriter::error_correction_level(), CBC_PDF417::GenerateBarcodeLogic(), CBC_PDF417::getBarcodeMatrix(), CBC_Writer::m_Height, CBC_Writer::m_ModuleWidth, CBC_Writer::m_Width, and CBC_PDF417::setDimensions().

+ Here is the call graph for this function:

◆ SetErrorCorrectionLevel()

bool CBC_PDF417Writer::SetErrorCorrectionLevel ( int32_t level)
overridevirtual

Reimplemented from CBC_Writer.

Definition at line 41 of file BC_PDF417Writer.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: