Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
BC_OnedEANChecksum.h
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FXBARCODE_ONED_BC_ONEDEANCHECKSUM_H_
6#define FXBARCODE_ONED_BC_ONEDEANCHECKSUM_H_
7
8#include "core/fxcrt/bytestring.h"
9
10int32_t EANCalcChecksum(const ByteString& contents);
11
12#endif // FXBARCODE_ONED_BC_ONEDEANCHECKSUM_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
int32_t m_Height
Definition BC_Writer.h:36
static const FX_ARGB kBackgroundColor
Definition BC_Writer.h:32
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
Definition bytestring.h:150
CharType Front() const
Definition bytestring.h:155
WideString & operator+=(wchar_t ch)
bool FXSYS_IsDecimalDigit(wchar_t c)
int FXSYS_DecimalCharToInt(char c)
FX_RECT & operator=(const FX_RECT &that)=default