#include "fxbarcode/oned/BC_OnedUPCAWriter.h"
#include <math.h>
#include <algorithm>
#include <vector>
#include "core/fxcrt/fx_extension.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "core/fxge/text_char_pos.h"
#include "fxbarcode/BC_Writer.h"
#include "fxbarcode/oned/BC_OneDimWriter.h"
#include "fxbarcode/oned/BC_OnedEAN13Writer.h"
CBC_OnedUPCAWriter::CBC_OnedUPCAWriter() { … }
CBC_OnedUPCAWriter::~CBC_OnedUPCAWriter() = default;
bool CBC_OnedUPCAWriter::CheckContentValidity(WideStringView contents) { … }
WideString CBC_OnedUPCAWriter::FilterContents(WideStringView contents) { … }
void CBC_OnedUPCAWriter::InitEANWriter() { … }
int32_t CBC_OnedUPCAWriter::CalcChecksum(const ByteString& contents) { … }
DataVector<uint8_t> CBC_OnedUPCAWriter::Encode(const ByteString& contents) { … }
bool CBC_OnedUPCAWriter::ShowChars(WideStringView contents,
CFX_RenderDevice* device,
const CFX_Matrix& matrix,
int32_t barWidth) { … }