Support Forum       G3D Web Page     
Public Attributes | List of all members
QRcode Struct Reference

QRcode class. More...

Public Attributes

unsigned char * data
 symbol data More...
 
int version
 version of the symbol More...
 
int width
 width of the symbol More...
 

Detailed Description

QRcode class.

Symbol data is represented as an array contains width*width uchars. Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black. The other bits are meaningless for usual applications, but here its specification is described.

MSB 76543210 LSB
    |||||||- 1=black/0=white
    ||||||– data and ecc code area
    |||||--- format information
    ||||-— version information
    |||----- timing pattern
    ||---— alignment pattern
    |------- finder pattern and separator
-----— non-data modules (format, timing, etc.)

Member Data Documentation

◆ data

unsigned char* QRcode::data

symbol data

◆ version

int QRcode::version

version of the symbol

◆ width

int QRcode::width

width of the symbol


documentation generated on Wed Nov 24 2021 08:01:52 using doxygen 1.8.15