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
CFX_Barcode Class Reference

#include <cfx_barcode.h>

Collaboration diagram for CFX_Barcode:

Public Member Functions

 ~CFX_Barcode ()
BC_TYPE GetType ()
bool Encode (WideStringView contents)
bool RenderDevice (CFX_RenderDevice *device, const CFX_Matrix &matrix)
bool SetModuleHeight (int32_t moduleHeight)
bool SetModuleWidth (int32_t moduleWidth)
void SetHeight (int32_t height)
void SetWidth (int32_t width)
bool SetPrintChecksum (bool checksum)
bool SetDataLength (int32_t length)
bool SetCalChecksum (bool state)
bool SetFont (CFX_Font *pFont)
bool SetFontSize (float size)
bool SetFontColor (FX_ARGB color)
void SetTextLocation (BC_TEXT_LOC location)
bool SetWideNarrowRatio (int8_t ratio)
bool SetStartChar (char start)
bool SetEndChar (char end)
bool SetErrorCorrectionLevel (int32_t level)

Static Public Member Functions

static std::unique_ptr< CFX_BarcodeCreate (BC_TYPE type)

Detailed Description

Definition at line 23 of file cfx_barcode.h.

Constructor & Destructor Documentation

◆ ~CFX_Barcode()

CFX_Barcode::~CFX_Barcode ( )
default

Member Function Documentation

◆ Create()

std::unique_ptr< CFX_Barcode > CFX_Barcode::Create ( BC_TYPE type)
static

Definition at line 62 of file cfx_barcode.cpp.

◆ Encode()

bool CFX_Barcode::Encode ( WideStringView contents)

Definition at line 230 of file cfx_barcode.cpp.

◆ GetType()

BC_TYPE CFX_Barcode::GetType ( )

Definition at line 68 of file cfx_barcode.cpp.

Referenced by SetCalChecksum(), SetDataLength(), SetFont(), SetFontColor(), SetFontSize(), and SetPrintChecksum().

Here is the caller graph for this function:

◆ RenderDevice()

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

Definition at line 234 of file cfx_barcode.cpp.

◆ SetCalChecksum()

bool CFX_Barcode::SetCalChecksum ( bool state)

Definition at line 130 of file cfx_barcode.cpp.

References GetType().

Here is the call graph for this function:

◆ SetDataLength()

bool CFX_Barcode::SetDataLength ( int32_t length)

Definition at line 110 of file cfx_barcode.cpp.

References GetType().

Here is the call graph for this function:

◆ SetEndChar()

bool CFX_Barcode::SetEndChar ( char end)

Definition at line 222 of file cfx_barcode.cpp.

◆ SetErrorCorrectionLevel()

bool CFX_Barcode::SetErrorCorrectionLevel ( int32_t level)

Definition at line 226 of file cfx_barcode.cpp.

◆ SetFont()

bool CFX_Barcode::SetFont ( CFX_Font * pFont)

Definition at line 150 of file cfx_barcode.cpp.

References GetType().

Here is the call graph for this function:

◆ SetFontColor()

bool CFX_Barcode::SetFontColor ( FX_ARGB color)

Definition at line 189 of file cfx_barcode.cpp.

References GetType().

Here is the call graph for this function:

◆ SetFontSize()

bool CFX_Barcode::SetFontSize ( float size)

Definition at line 169 of file cfx_barcode.cpp.

References GetType().

Here is the call graph for this function:

◆ SetHeight()

void CFX_Barcode::SetHeight ( int32_t height)

Definition at line 80 of file cfx_barcode.cpp.

◆ SetModuleHeight()

bool CFX_Barcode::SetModuleHeight ( int32_t moduleHeight)

Definition at line 72 of file cfx_barcode.cpp.

◆ SetModuleWidth()

bool CFX_Barcode::SetModuleWidth ( int32_t moduleWidth)

Definition at line 76 of file cfx_barcode.cpp.

◆ SetPrintChecksum()

bool CFX_Barcode::SetPrintChecksum ( bool checksum)

Definition at line 90 of file cfx_barcode.cpp.

References GetType().

Here is the call graph for this function:

◆ SetStartChar()

bool CFX_Barcode::SetStartChar ( char start)

Definition at line 218 of file cfx_barcode.cpp.

◆ SetTextLocation()

void CFX_Barcode::SetTextLocation ( BC_TEXT_LOC location)

Definition at line 209 of file cfx_barcode.cpp.

◆ SetWideNarrowRatio()

bool CFX_Barcode::SetWideNarrowRatio ( int8_t ratio)

Definition at line 214 of file cfx_barcode.cpp.

◆ SetWidth()

void CFX_Barcode::SetWidth ( int32_t width)

Definition at line 85 of file cfx_barcode.cpp.


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