5#ifndef FXBARCODE_ONED_BC_ONEDEANCHECKSUM_H_
6#define FXBARCODE_ONED_BC_ONEDEANCHECKSUM_H_
8#include "core/fxcrt/bytestring.h"
int32_t EANCalcChecksum(const ByteString &contents)
static bool HasValidContentSize(WideStringView contents)
pdfium::span< uint8_t > AppendPattern(pdfium::span< uint8_t > target, pdfium::span< const uint8_t > pattern, bool startColor)
~CBC_OnedEAN13Writer() override
DataVector< uint8_t > Encode(const ByteString &contents) override
int32_t CalcChecksum(const ByteString &contents) override
WideString FilterContents(WideStringView contents) override
bool CheckContentValidity(WideStringView contents) override
bool ShowChars(WideStringView contents, CFX_RenderDevice *device, const CFX_Matrix &matrix, int32_t barWidth) override
static const FX_ARGB kBackgroundColor
constexpr CFX_FloatRect(float l, float b, float r, float t)
FX_RECT GetOuterRect() const
CFX_FloatRect TransformRect(const CFX_FloatRect &rect) const
CFX_Matrix(float a1, float b1, float c1, float d1, float e1, float f1)
void Concat(const CFX_Matrix &right)
bool FillRect(const FX_RECT &rect, uint32_t color)
CharType operator[](const size_t index) const
WideString & operator+=(wchar_t ch)
bool FXSYS_IsDecimalDigit(wchar_t c)
int FXSYS_DecimalCharToInt(char c)
FX_RECT & operator=(const FX_RECT &that)=default