7#ifndef FXBARCODE_CBC_ONECODE_H_
8#define FXBARCODE_CBC_ONECODE_H_
14#include "core/fxge/dib/fx_dib.h"
15#include "fxbarcode/cbc_codebase.h"
22 explicit CBC_OneCode(std::unique_ptr<CBC_Writer> pWriter);
BC_TYPE GetType() override
bool RenderDevice(CFX_RenderDevice *device, const CFX_Matrix &matrix) override
bool Encode(WideStringView contents) override
void SetCalChecksum(bool calc)
void SetFontStyle(int32_t style)
void SetPrintChecksum(bool checksum)
CBC_OneCode(std::unique_ptr< CBC_Writer > pWriter)
void SetFontColor(FX_ARGB color)
void SetDataLength(int32_t length)
void SetFontSize(float size)
bool SetFont(CFX_Font *cFont)
bool RenderDeviceResult(CFX_RenderDevice *device, const CFX_Matrix &matrix, WideStringView contents)
bool CheckContentValidity(WideStringView contents) override