Fills frame with data. More...
Public Member Functions | |
| __construct ($width, &$frame) | |
| Frame filler Constructor. More... | |
| setFrameAt ($at, $val) | |
| Sets frame code at given position. More... | |
| getFrameAt ($at) | |
| Gets frame code from given position. More... | |
| next () | |
| Proceed to next code point. More... | |
Public Attributes | |
| $width | |
| Integer Frame width | |
| $frame | |
| Array Frame itself | |
| $x | |
| Integer current X position | |
| $y | |
| Integer current Y position | |
| $dir | |
| Integer direction | |
| $bit | |
| Integer bit | |
Fills frame with data.
Each empty frame consist of markers, timing symbols and format configuration. Remaining place is place for data, and should be filled according to QR Code spec.
| QRframeFiller::__construct | ( | $width, | |
| & | $frame | ||
| ) |
Frame filler Constructor.
| Integer | $width | frame size |
| Array | $frame | Frame array |
| QRframeFiller::getFrameAt | ( | $at) |
Gets frame code from given position.
| Array | $at | position, map containing x and y coordinates |
| QRframeFiller::next | ( | ) |
Proceed to next code point.
| QRframeFiller::setFrameAt | ( | $at, | |
| $val | |||
| ) |
Sets frame code at given position.
| Array | $at | position, map containing x and y coordinates |
| Integer | $val | value to set |
1.8.4