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_TwoDimWriter.h>
Public Member Functions | |
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) |
virtual bool | SetErrorCorrectionLevel (int32_t level) |
Protected Member Functions | |
void | set_error_correction_level (int32_t level) |
Additional Inherited Members | |
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 |
Definition at line 19 of file BC_TwoDimWriter.h.
|
explicit |
Definition at line 20 of file BC_TwoDimWriter.cpp.
Referenced by CBC_DataMatrixWriter::CBC_DataMatrixWriter(), CBC_PDF417Writer::CBC_PDF417Writer(), and CBC_QRCodeWriter::CBC_QRCodeWriter().
|
overridedefault |
|
inline |
Definition at line 29 of file BC_TwoDimWriter.h.
Referenced by CBC_PDF417Writer::Encode().
void CBC_TwoDimWriter::RenderDeviceResult | ( | CFX_RenderDevice * | device, |
const CFX_Matrix & | matrix ) |
Definition at line 84 of file BC_TwoDimWriter.cpp.
References CFX_Matrix::CFX_Matrix(), CFX_Path::AppendRect(), CFX_Matrix::Concat(), CFX_RenderDevice::DrawPath(), CFX_FillRenderOptions::EvenOddOptions(), CBC_Writer::kBackgroundColor, CBC_Writer::kBarColor, CBC_Writer::m_Height, CBC_Writer::m_Width, CFX_Matrix::operator=(), and CFX_FillRenderOptions::WindingOptions().
Referenced by CBC_DataMatrix::RenderDevice(), CBC_PDF417I::RenderDevice(), and CBC_QRCode::RenderDevice().
bool CBC_TwoDimWriter::RenderResult | ( | pdfium::span< const uint8_t > | code, |
int32_t | codeWidth, | ||
int32_t | codeHeight ) |
Definition at line 25 of file BC_TwoDimWriter.cpp.
References CBC_Writer::m_Height, CBC_Writer::m_ModuleHeight, CBC_Writer::m_ModuleWidth, and CBC_Writer::m_Width.
Referenced by CBC_DataMatrix::Encode(), CBC_PDF417I::Encode(), and CBC_QRCode::Encode().
|
inlineprotected |
Definition at line 32 of file BC_TwoDimWriter.h.
Referenced by CBC_DataMatrixWriter::SetErrorCorrectionLevel(), CBC_PDF417Writer::SetErrorCorrectionLevel(), and CBC_QRCodeWriter::SetErrorCorrectionLevel().