![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
Functions | |
| Grid< bool > | EncodeNumber (StringView s, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion) |
| 数字から構成される文字列から QR データを作成します。 More... | |
| Grid< bool > | EncodeAlnum (StringView s, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion) |
| 英数字から構成される文字列から QR データを作成します。 More... | |
| Grid< bool > | EncodeText (StringView s, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion) |
| 文字列から QR データを作成します。 More... | |
| Grid< bool > | EncodeBinary (const void *data, size_t size, QRErrorCorrection ec=QRErrorCorrection::Low, int32 minVersion=MinVersion) |
| バイナリデータから QR データを作成します。 More... | |
| Image | MakeImage (const Grid< bool > &qr, int32 cellSize=16, size_t borderCells=4) |
| QR コードを Image に変換します。 More... | |
| SVG | MakeSVG (const Grid< bool > &qr, size_t borderCells=4) |
| QR コードを SVG データに変換します。 More... | |
| bool | SaveSVG (FilePathView path, const Grid< bool > &qr, size_t borderCells=4) |
| QR コードを SVG 画像ファイルとして保存します。 More... | |
Variables | |
| constexpr int32 | MinVersion = 1 |
| QR コードの最小サイズを示す番号 More... | |
| constexpr int32 | MaxVersion = 40 |
| QR コードの最大サイズを示す番号 More... | |
QR コードに関連する機能
| Grid<bool> s3d::QR::EncodeAlnum | ( | StringView | s, |
| QRErrorCorrection | ec = QRErrorCorrection::Low, |
||
| int32 | minVersion = MinVersion |
||
| ) |
| Grid<bool> s3d::QR::EncodeBinary | ( | const void * | data, |
| size_t | size, | ||
| QRErrorCorrection | ec = QRErrorCorrection::Low, |
||
| int32 | minVersion = MinVersion |
||
| ) |
| Grid<bool> s3d::QR::EncodeNumber | ( | StringView | s, |
| QRErrorCorrection | ec = QRErrorCorrection::Low, |
||
| int32 | minVersion = MinVersion |
||
| ) |
| Grid<bool> s3d::QR::EncodeText | ( | StringView | s, |
| QRErrorCorrection | ec = QRErrorCorrection::Low, |
||
| int32 | minVersion = MinVersion |
||
| ) |
| bool s3d::QR::SaveSVG | ( | FilePathView | path, |
| const Grid< bool > & | qr, | ||
| size_t | borderCells = 4 |
||
| ) |