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_OnedEAN8Writer.h>
Private Member Functions | |
bool | ShowChars (WideStringView contents, CFX_RenderDevice *device, const CFX_Matrix &matrix, int32_t barWidth) override |
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 | |
void | ShowDeviceChars (CFX_RenderDevice *device, const CFX_Matrix &matrix, const ByteString str, float geWidth, TextCharPos *pCharPos, float locX, float locY, int32_t barWidth) |
void | CalcTextInfo (const ByteString &text, TextCharPos *charPos, CFX_Font *cFont, float geWidth, int32_t fontSize, float &charsLen) |
pdfium::span< uint8_t > | AppendPattern (pdfium::span< uint8_t > target, pdfium::span< const uint8_t > pattern, 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 |
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_OnedEAN8Writer.h.
CBC_OnedEAN8Writer::CBC_OnedEAN8Writer | ( | ) |
Definition at line 50 of file BC_OnedEAN8Writer.cpp.
References CBC_OneDimWriter::m_iDataLenth.
|
overridedefault |
|
overridevirtual |
Implements CBC_OneDimEANWriter.
Definition at line 87 of file BC_OnedEAN8Writer.cpp.
References EANCalcChecksum().
|
overridevirtual |
Implements CBC_OneDimWriter.
Definition at line 65 of file BC_OnedEAN8Writer.cpp.
References FXSYS_IsDecimalDigit(), and CBC_OneDimWriter::HasValidContentSize().
|
overridevirtual |
Implements CBC_OneDimWriter.
Definition at line 91 of file BC_OnedEAN8Writer.cpp.
References CBC_OneDimWriter::AppendPattern(), FXSYS_DecimalCharToInt(), and fxcrt::ByteString::operator[]().
|
overridevirtual |
Implements CBC_OneDimWriter.
Definition at line 71 of file BC_OnedEAN8Writer.cpp.
References FXSYS_IsDecimalDigit(), and fxcrt::WideString::operator+=().
|
overridevirtual |
Reimplemented from CBC_OneDimWriter.
Definition at line 56 of file BC_OnedEAN8Writer.cpp.
References CBC_OneDimWriter::m_iDataLenth.
|
overridevirtual |
Reimplemented from CBC_Writer.
Definition at line 60 of file BC_OnedEAN8Writer.cpp.
References kBelowEmbed, and CBC_OneDimWriter::m_locTextLoc.
|
overrideprivatevirtual |
Reimplemented from CBC_OneDimWriter.
Definition at line 113 of file BC_OnedEAN8Writer.cpp.
References CFX_FloatRect::CFX_FloatRect(), CFX_Matrix::CFX_Matrix(), CFX_Matrix::Concat(), CFX_RenderDevice::FillRect(), CFX_FloatRect::GetOuterRect(), CBC_Writer::kBackgroundColor, CBC_OneDimWriter::m_fFontSize, CBC_Writer::m_Height, CBC_OneDimWriter::m_outputHScale, FX_RECT::operator=(), and CFX_Matrix::TransformRect().