OpenSiv3D  v0.6.5
C++20 framework for creative coding
QR.hpp File Reference
#include "Common.hpp"
#include "Fwd.hpp"
#include "Grid.hpp"
#include "SVG.hpp"
#include "QRErrorCorrection.hpp"

Namespaces

 s3d
 
 s3d::QR
 QR コードに関連する機能
 

Functions

Grid< bool > s3d::QR::EncodeNumber (StringView s, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion)
 数字から構成される文字列から QR データを作成します。 More...
 
Grid< bool > s3d::QR::EncodeAlnum (StringView s, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion)
 英数字から構成される文字列から QR データを作成します。 More...
 
Grid< bool > s3d::QR::EncodeText (StringView s, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion)
 文字列から QR データを作成します。 More...
 
Grid< bool > s3d::QR::EncodeBinary (const void *data, size_t size, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion)
 バイナリデータから QR データを作成します。 More...
 
Image s3d::QR::MakeImage (const Grid< bool > &qr, int32 cellSize=16, size_t borderCells=4)
 QR コードを Image に変換します。 More...
 
SVG s3d::QR::MakeSVG (const Grid< bool > &qr, size_t borderCells=4)
 QR コードを SVG データに変換します。 More...
 
bool s3d::QR::SaveSVG (FilePathView path, const Grid< bool > &qr, size_t borderCells=4)
 QR コードを SVG 画像ファイルとして保存します。 More...
 

Variables

constexpr int32 s3d::QR::MinVersion = 1
 QR コードの最小サイズを示す番号 More...
 
constexpr int32 s3d::QR::MaxVersion = 40
 QR コードの最大サイズを示す番号 More...