Skip to main content

Module qr_code_model

Module qr_code_model 

Source
Expand description

QR Code Model - Shared constants and types

Structs§

QRMode
QR Code 模式

Enums§

QRErrorCorrectLevel
错误纠正级别

Constants§

PATTERN_POSITION_TABLE
位置调整图案位置表 (完整 40 版本)
QR_CODE_LIMIT_LENGTH
完整容量表 (40 版本 x 4 纠错级别)

Functions§

get_min_version
快速版本:获取最小版本号 (支持 1-10 版本,用于 qrcode-fast)
get_pattern_position
获取位置调整图案位置
get_type_number
获取类型号 (完整版本,支持 40 个版本)