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:

Classes

struct  EncodeResult

Public Member Functions

 CBC_PDF417Writer ()
 ~CBC_PDF417Writer () override
EncodeResult Encode (WideStringView contents) const
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 ()
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
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 50 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()

CBC_PDF417Writer::EncodeResult CBC_PDF417Writer::Encode ( WideStringView contents) const

Definition at line 62 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().

Referenced by CBC_PDF417I::Encode(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetErrorCorrectionLevel()

bool CBC_PDF417Writer::SetErrorCorrectionLevel ( int32_t level)
overridevirtual

Reimplemented from CBC_Writer.

Definition at line 54 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: