Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <BC_Writer.h>
Public Member Functions | |
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) |
virtual bool | SetErrorCorrectionLevel (int32_t level) |
Protected Attributes | |
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 | |
static const FX_ARGB | kBarColor = 0xff000000 |
static const FX_ARGB | kBackgroundColor = 0xffffffff |
Definition at line 13 of file BC_Writer.h.
|
default |
|
virtualdefault |
void CBC_Writer::SetCharEncoding | ( | BC_CHAR_ENCODING | encoding | ) |
Definition at line 13 of file BC_Writer.cpp.
References m_CharEncoding.
|
virtual |
Reimplemented in CBC_OnedCodaBarWriter.
Definition at line 51 of file BC_Writer.cpp.
|
virtual |
Reimplemented in CBC_DataMatrixWriter, CBC_PDF417Writer, and CBC_QRCodeWriter.
Definition at line 55 of file BC_Writer.cpp.
void CBC_Writer::SetHeight | ( | int32_t | height | ) |
Definition at line 33 of file BC_Writer.cpp.
References m_Height.
bool CBC_Writer::SetModuleHeight | ( | int32_t | moduleHeight | ) |
Definition at line 17 of file BC_Writer.cpp.
References m_ModuleHeight.
bool CBC_Writer::SetModuleWidth | ( | int32_t | moduleWidth | ) |
Definition at line 25 of file BC_Writer.cpp.
References m_ModuleWidth.
|
virtual |
Reimplemented in CBC_OnedCodaBarWriter.
Definition at line 47 of file BC_Writer.cpp.
|
virtual |
Reimplemented in CBC_OnedCodaBarWriter, CBC_OnedCode128Writer, CBC_OnedCode39Writer, and CBC_OnedEAN8Writer.
Definition at line 41 of file BC_Writer.cpp.
|
virtual |
Reimplemented in CBC_OnedCodaBarWriter, and CBC_OnedCode39Writer.
Definition at line 43 of file BC_Writer.cpp.
void CBC_Writer::SetWidth | ( | int32_t | width | ) |
Definition at line 37 of file BC_Writer.cpp.
References m_Width.
|
staticprotected |
Definition at line 32 of file BC_Writer.h.
Referenced by CBC_OneDimWriter::RenderDeviceResult(), CBC_TwoDimWriter::RenderDeviceResult(), CBC_OnedEAN13Writer::ShowChars(), CBC_OnedEAN8Writer::ShowChars(), CBC_OnedUPCAWriter::ShowChars(), and CBC_OneDimWriter::ShowDeviceChars().
|
staticprotected |
Definition at line 31 of file BC_Writer.h.
Referenced by CBC_TwoDimWriter::RenderDeviceResult().
|
protected |
Definition at line 39 of file BC_Writer.h.
Referenced by SetCharEncoding().
|
protected |
Definition at line 38 of file BC_Writer.h.
|
protected |
Definition at line 36 of file BC_Writer.h.
Referenced by CBC_PDF417Writer::Encode(), CBC_OneDimWriter::RenderDeviceResult(), CBC_TwoDimWriter::RenderDeviceResult(), CBC_TwoDimWriter::RenderResult(), SetHeight(), CBC_OnedEAN13Writer::ShowChars(), CBC_OnedEAN8Writer::ShowChars(), CBC_OneDimWriter::ShowChars(), and CBC_OnedUPCAWriter::ShowChars().
|
protected |
Definition at line 34 of file BC_Writer.h.
Referenced by CBC_OneDimWriter::RenderResult(), CBC_TwoDimWriter::RenderResult(), and SetModuleHeight().
|
protected |
Definition at line 35 of file BC_Writer.h.
Referenced by CBC_PDF417Writer::Encode(), CBC_TwoDimWriter::RenderResult(), and SetModuleWidth().
|
protected |
Definition at line 37 of file BC_Writer.h.
Referenced by CBC_PDF417Writer::Encode(), CBC_OneDimWriter::RenderDeviceResult(), CBC_TwoDimWriter::RenderDeviceResult(), CBC_OneDimWriter::RenderResult(), CBC_TwoDimWriter::RenderResult(), SetWidth(), and CBC_OneDimWriter::ShowDeviceChars().