![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfx_barcode.h>
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_Barcode > | Create (BC_TYPE type) |
Definition at line 23 of file cfx_barcode.h.
|
default |
|
static |
Definition at line 62 of file cfx_barcode.cpp.
bool CFX_Barcode::Encode | ( | WideStringView | contents | ) |
Definition at line 230 of file cfx_barcode.cpp.
BC_TYPE CFX_Barcode::GetType | ( | ) |
Definition at line 68 of file cfx_barcode.cpp.
Referenced by SetCalChecksum(), SetDataLength(), SetFont(), SetFontColor(), SetFontSize(), and SetPrintChecksum().
bool CFX_Barcode::RenderDevice | ( | CFX_RenderDevice * | device, |
const CFX_Matrix & | matrix ) |
Definition at line 234 of file cfx_barcode.cpp.
bool CFX_Barcode::SetCalChecksum | ( | bool | state | ) |
Definition at line 130 of file cfx_barcode.cpp.
References GetType().
bool CFX_Barcode::SetDataLength | ( | int32_t | length | ) |
Definition at line 110 of file cfx_barcode.cpp.
References GetType().
bool CFX_Barcode::SetEndChar | ( | char | end | ) |
Definition at line 222 of file cfx_barcode.cpp.
bool CFX_Barcode::SetErrorCorrectionLevel | ( | int32_t | level | ) |
Definition at line 226 of file cfx_barcode.cpp.
bool CFX_Barcode::SetFont | ( | CFX_Font * | pFont | ) |
Definition at line 150 of file cfx_barcode.cpp.
References GetType().
bool CFX_Barcode::SetFontColor | ( | FX_ARGB | color | ) |
Definition at line 189 of file cfx_barcode.cpp.
References GetType().
bool CFX_Barcode::SetFontSize | ( | float | size | ) |
Definition at line 169 of file cfx_barcode.cpp.
References GetType().
void CFX_Barcode::SetHeight | ( | int32_t | height | ) |
Definition at line 80 of file cfx_barcode.cpp.
bool CFX_Barcode::SetModuleHeight | ( | int32_t | moduleHeight | ) |
Definition at line 72 of file cfx_barcode.cpp.
bool CFX_Barcode::SetModuleWidth | ( | int32_t | moduleWidth | ) |
Definition at line 76 of file cfx_barcode.cpp.
bool CFX_Barcode::SetPrintChecksum | ( | bool | checksum | ) |
Definition at line 90 of file cfx_barcode.cpp.
References GetType().
bool CFX_Barcode::SetStartChar | ( | char | start | ) |
Definition at line 218 of file cfx_barcode.cpp.
void CFX_Barcode::SetTextLocation | ( | BC_TEXT_LOC | location | ) |
Definition at line 209 of file cfx_barcode.cpp.
bool CFX_Barcode::SetWideNarrowRatio | ( | int8_t | ratio | ) |
Definition at line 214 of file cfx_barcode.cpp.
void CFX_Barcode::SetWidth | ( | int32_t | width | ) |
Definition at line 85 of file cfx_barcode.cpp.