7
8
9
10
11
12
13
14
15
16
17
18
19
20
22#include "fxbarcode/cbc_pdf417i.h"
28#include "core/fxcrt/data_vector.h"
29#include "fxbarcode/pdf417/BC_PDF417Writer.h"
35constexpr size_t kMaxPDF417InputLengthBytes = 2710;
45 if (contents.GetLength() > kMaxPDF417InputLengthBytes)
48 auto* pWriter = GetPDF417Writer();
50 return pWriter->RenderResult(result.data, result
.width, result
.height);
63CBC_PDF417Writer* CBC_PDF417I::GetPDF417Writer() {
64 return static_cast<CBC_PDF417Writer*>(m_pBCWriter.get());
BC_TYPE GetType() override
bool Encode(WideStringView contents) override
bool RenderDevice(CFX_RenderDevice *device, const CFX_Matrix &matrix) override
EncodeResult Encode(WideStringView contents) const
void RenderDeviceResult(CFX_RenderDevice *device, const CFX_Matrix &matrix)
fxcrt::WideStringView WideStringView