![]() |
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_QRCodeWriter.h>
Public Member Functions | |
| CBC_QRCodeWriter () | |
| ~CBC_QRCodeWriter () override | |
| DataVector< uint8_t > | Encode (WideStringView contents, int32_t ecLevel, int32_t *pOutWidth, int32_t *pOutHeight) |
| 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 |
Definition at line 16 of file BC_QRCodeWriter.h.
| CBC_QRCodeWriter::CBC_QRCodeWriter | ( | ) |
Definition at line 38 of file BC_QRCodeWriter.cpp.
References CBC_TwoDimWriter::CBC_TwoDimWriter().
|
overridedefault |
| DataVector< uint8_t > CBC_QRCodeWriter::Encode | ( | WideStringView | contents, |
| int32_t | ecLevel, | ||
| int32_t * | pOutWidth, | ||
| int32_t * | pOutHeight ) |
Definition at line 50 of file BC_QRCodeWriter.cpp.
References CBC_QRCoderEncoder::Encode(), CBC_QRCoder::GetMatrixWidth(), CBC_QRCoderErrorCorrectionLevel::H, CBC_QRCoderErrorCorrectionLevel::L, CBC_QRCoderErrorCorrectionLevel::M, and CBC_QRCoderErrorCorrectionLevel::Q.
|
overridevirtual |
Reimplemented from CBC_Writer.
Definition at line 42 of file BC_QRCodeWriter.cpp.
References CBC_TwoDimWriter::set_error_correction_level().