Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
BC_CommonBitMatrix.h
Go to the documentation of this file.
1
// Copyright 2014 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
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
ifndef
FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_
8
#
define
FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_
9
10
#
include
<
stddef
.
h
>
11
#
include
<
stdint
.
h
>
12
13
#
include
"core/fxcrt/fixed_size_data_vector.h"
14
15
class
CBC_CommonBitMatrix
{
16
public
:
17
CBC_CommonBitMatrix
(size_t width, size_t height);
18
~
CBC_CommonBitMatrix
();
19
20
bool
Get
(size_t x, size_t y)
const
;
21
void
Set
(size_t x, size_t y);
22
23
private
:
24
const
size_t m_height;
25
const
size_t m_rowSize;
26
FixedSizeDataVector<uint32_t> m_bits;
27
};
28
29
#
endif
// FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_
BC_TEXT_LOC
BC_TEXT_LOC
Definition
BC_Library.h:12
DCHECK
#define DCHECK
Definition
check.h:33
CBC_CommonBitMatrix
Definition
BC_CommonBitMatrix.h:15
CBC_CommonBitMatrix::Set
void Set(size_t x, size_t y)
Definition
BC_CommonBitMatrix.cpp:42
CBC_CommonBitMatrix::~CBC_CommonBitMatrix
~CBC_CommonBitMatrix()
CBC_CommonBitMatrix::CBC_CommonBitMatrix
CBC_CommonBitMatrix(size_t width, size_t height)
Definition
BC_CommonBitMatrix.cpp:28
CBC_CommonBitMatrix::Get
bool Get(size_t x, size_t y) const
Definition
BC_CommonBitMatrix.cpp:37
CBC_TwoDimWriter
Definition
BC_TwoDimWriter.h:19
CBC_TwoDimWriter::RenderResult
bool RenderResult(pdfium::span< const uint8_t > code, int32_t codeWidth, int32_t codeHeight)
Definition
BC_TwoDimWriter.cpp:25
CBC_TwoDimWriter::error_correction_level
int32_t error_correction_level() const
Definition
BC_TwoDimWriter.h:29
CBC_TwoDimWriter::RenderDeviceResult
void RenderDeviceResult(CFX_RenderDevice *device, const CFX_Matrix &matrix)
Definition
BC_TwoDimWriter.cpp:83
CBC_TwoDimWriter::set_error_correction_level
void set_error_correction_level(int32_t level)
Definition
BC_TwoDimWriter.h:32
CBC_TwoDimWriter::~CBC_TwoDimWriter
~CBC_TwoDimWriter() override
CBC_TwoDimWriter::CBC_TwoDimWriter
CBC_TwoDimWriter(bool bFixedSize)
Definition
BC_TwoDimWriter.cpp:20
CBC_Writer
Definition
BC_Writer.h:13
CBC_Writer::m_Width
int32_t m_Width
Definition
BC_Writer.h:36
CBC_Writer::SetWidth
void SetWidth(int32_t width)
Definition
BC_Writer.cpp:33
CBC_Writer::SetModuleWidth
bool SetModuleWidth(int32_t moduleWidth)
Definition
BC_Writer.cpp:21
CBC_Writer::SetErrorCorrectionLevel
virtual bool SetErrorCorrectionLevel(int32_t level)
Definition
BC_Writer.cpp:51
CBC_Writer::m_Height
int32_t m_Height
Definition
BC_Writer.h:35
CBC_Writer::SetEndChar
virtual bool SetEndChar(char end)
Definition
BC_Writer.cpp:47
CBC_Writer::SetStartChar
virtual bool SetStartChar(char start)
Definition
BC_Writer.cpp:43
CBC_Writer::SetModuleHeight
bool SetModuleHeight(int32_t moduleHeight)
Definition
BC_Writer.cpp:13
CBC_Writer::m_ModuleHeight
int32_t m_ModuleHeight
Definition
BC_Writer.h:33
CBC_Writer::~CBC_Writer
virtual ~CBC_Writer()
CBC_Writer::kBackgroundColor
static const FX_ARGB kBackgroundColor
Definition
BC_Writer.h:31
CBC_Writer::SetWideNarrowRatio
virtual bool SetWideNarrowRatio(int8_t ratio)
Definition
BC_Writer.cpp:39
CBC_Writer::SetHeight
void SetHeight(int32_t height)
Definition
BC_Writer.cpp:29
CBC_Writer::m_ModuleWidth
int32_t m_ModuleWidth
Definition
BC_Writer.h:34
CBC_Writer::SetTextLocation
virtual void SetTextLocation(BC_TEXT_LOC location)
Definition
BC_Writer.cpp:37
CBC_Writer::kBarColor
static const FX_ARGB kBarColor
Definition
BC_Writer.h:30
CBC_Writer::CBC_Writer
CBC_Writer()
CFX_GraphStateData
Definition
cfx_graphstatedata.h:16
CFX_Matrix
Definition
fx_coordinates.h:440
CFX_Matrix::operator=
CFX_Matrix & operator=(const CFX_Matrix &other)=default
CFX_Matrix::Concat
void Concat(const CFX_Matrix &right)
Definition
fx_coordinates.h:480
CFX_Path
Definition
cfx_path.h:18
CFX_Path::AppendRect
void AppendRect(float left, float bottom, float right, float top)
Definition
cfx_path.cpp:310
CFX_RenderDevice
Definition
cfx_renderdevice.h:39
CFX_RenderDevice::DrawPath
bool DrawPath(const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_GraphStateData *pGraphState, uint32_t fill_color, uint32_t stroke_color, const CFX_FillRenderOptions &fill_options)
Definition
cfx_renderdevice.cpp:600
FX_ARGB
uint32_t FX_ARGB
Definition
fx_dib.h:36
FX_SAFE_INT32
pdfium::CheckedNumeric< int32_t > FX_SAFE_INT32
Definition
fx_safe_types.h:15
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
CFX_FillRenderOptions
Definition
cfx_fillrenderoptions.h:11
CFX_FillRenderOptions::EvenOddOptions
static constexpr CFX_FillRenderOptions EvenOddOptions()
Definition
cfx_fillrenderoptions.h:26
CFX_FillRenderOptions::WindingOptions
static constexpr CFX_FillRenderOptions WindingOptions()
Definition
cfx_fillrenderoptions.h:29
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxbarcode
common
BC_CommonBitMatrix.h
Generated on
for Qt by
1.18.0