7#ifndef FXBARCODE_BC_WRITER_H_
8#define FXBARCODE_BC_WRITER_H_
10#include "core/fxge/dib/fx_dib.h"
11#include "fxbarcode/BC_Library.h"
bool RenderResult(pdfium::span< const uint8_t > code, int32_t codeWidth, int32_t codeHeight)
int32_t error_correction_level() const
void RenderDeviceResult(CFX_RenderDevice *device, const CFX_Matrix &matrix)
void set_error_correction_level(int32_t level)
~CBC_TwoDimWriter() override
CBC_TwoDimWriter(bool bFixedSize)
void SetCharEncoding(BC_CHAR_ENCODING encoding)
void SetWidth(int32_t width)
bool SetModuleWidth(int32_t moduleWidth)
virtual bool SetErrorCorrectionLevel(int32_t level)
virtual bool SetEndChar(char end)
virtual bool SetStartChar(char start)
FXDIB_Format m_colorSpace
bool SetModuleHeight(int32_t moduleHeight)
static const FX_ARGB kBackgroundColor
virtual bool SetWideNarrowRatio(int8_t ratio)
BC_CHAR_ENCODING m_CharEncoding
void SetHeight(int32_t height)
virtual void SetTextLocation(BC_TEXT_LOC location)
static const FX_ARGB kBarColor
CFX_Matrix & operator=(const CFX_Matrix &other)=default
CFX_Matrix(float a1, float b1, float c1, float d1, float e1, float f1)
void Concat(const CFX_Matrix &right)
void AppendRect(float left, float bottom, float right, float top)
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)
static constexpr CFX_FillRenderOptions EvenOddOptions()
static constexpr CFX_FillRenderOptions WindingOptions()