![]() |
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_OnedEANWriter.h>
Public Member Functions | |
| CBC_OneDimEANWriter () | |
| ~CBC_OneDimEANWriter () override | |
| virtual void | InitEANWriter () |
| virtual int32_t | CalcChecksum (const ByteString &contents)=0 |
| Public Member Functions inherited from CBC_OneDimWriter | |
| CBC_OneDimWriter () | |
| ~CBC_OneDimWriter () override | |
| virtual bool | RenderResult (WideStringView contents, pdfium::span< const uint8_t > code) |
| virtual bool | CheckContentValidity (WideStringView contents)=0 |
| virtual WideString | FilterContents (WideStringView contents)=0 |
| virtual void | SetDataLength (int32_t lengthlength) |
| void | SetPrintChecksum (bool checksum) |
| void | SetCalcChecksum (bool state) |
| void | SetFontSize (float sizesize) |
| void | SetFontStyle (int32_t style) |
| void | SetFontColor (FX_ARGB colorcolor) |
| virtual DataVector< uint8_t > | Encode (const ByteString &contents)=0 |
| bool | RenderDeviceResult (CFX_RenderDevice *device, const CFX_Matrix &matrixmatrix, WideStringView contents) |
| bool | SetFont (CFX_Font *cFont) |
| 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 heightheight) |
| void | SetWidth (int32_t widthwidth) |
| virtual void | SetTextLocation (BC_TEXT_LOC locationlocation) |
| virtual bool | SetWideNarrowRatio (int8_t ratio) |
| virtual bool | SetStartChar (char startstart) |
| virtual bool | SetEndChar (char endend) |
| virtual bool | SetErrorCorrectionLevel (int32_t levellevel) |
Additional Inherited Members | |
| Static Public Member Functions inherited from CBC_OneDimWriter | |
| static constexpr CFX_TextRenderOptions | GetTextRenderOptions () |
| static bool | HasValidContentSize (WideStringView contents) |
| Protected Member Functions inherited from CBC_OneDimWriter | |
| virtual bool | ShowChars (WideStringView contents, CFX_RenderDevice *device, const CFX_Matrix &matrixmatrix, int32_t barWidth) |
| void | ShowDeviceChars (CFX_RenderDevice *device, const CFX_Matrix &matrixmatrix, const ByteString str, float geWidth, pdfium::span< TextCharPos > pCharPos, float locX, float locY, int32_t barWidth) |
| void | CalcTextInfo (const ByteString &text, pdfium::span< TextCharPos > charPos, CFX_Font *cFont, float geWidth, int32_t fontSizefontSize, float &charsLen) |
| pdfium::span< uint8_t > | AppendPattern (pdfium::span< uint8_t > targettarget, pdfium::span< const uint8_t > patternpattern, bool startColor) |
| Protected Attributes inherited from CBC_OneDimWriter | |
| bool | m_bPrintChecksum = true |
| bool | m_bCalcChecksum = false |
| bool | m_bLeftPadding = false |
| bool | m_bRightPadding = false |
| UnownedPtr< CFX_Font > | m_pFont |
| float | m_fFontSize = 10.0f |
| int32_t | m_iFontStyle = 0 |
| uint32_t | m_fontColor = 0xff000000 |
| BC_TEXT_LOC | m_locTextLoc = BC_TEXT_LOC::kBelowEmbed |
| int32_t | m_iDataLenth = 0 |
| size_t | m_iContentLen = 0 |
| std::vector< CFX_Path > | m_output |
| int32_t | m_barWidth |
| float | m_outputHScale |
| 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 10 of file BC_OnedEANWriter.h.
|
default |
|
overridedefault |
|
pure virtual |
Implemented in CBC_OnedEAN13Writer, CBC_OnedEAN8Writer, and CBC_OnedUPCAWriter.
Referenced by CBC_EANCode::Preprocess().
|
virtual |
Reimplemented in CBC_OnedUPCAWriter.
Definition at line 11 of file BC_OnedEANWriter.cpp.
Referenced by CBC_EANCode::Encode().