QRCode (open)
Low-level QR code generator
Syntax
LOADLIB "wh::graphics/qrcode.whlib";
OBJECTTYPE QRCode
Constructor
- MACRO NEW(INTEGER typenumber, STRING errorcorrectlevel)
Initialize the QR code
Functions
- MACRO AddData(STRING data)
Add data to encode
- BOOLEAN ARRAY FUNCTION GetDark()
Get the dark status of all modules
- INTEGER FUNCTION GetModuleCount()
Get the number of modules (horizontal or vertical dots)
- BOOLEAN FUNCTION IsDark(INTEGER row, INTEGER col)
Check if the requested module is dark
- MACRO Make()
Generate the QR code for the currently added data