- \QRspec
class (none) \ QRspec
Method Summary
Name | Description |
---|---|
createFrame($version) | |
debug($frame, $binary_mode = false) | |
getDataLength($version, $level) | |
getECCLength($version, $level) | |
getEccSpec($version, $level, array $spec) | |
getFormatInfo($mask, $level) | |
getMinimumVersion($size, $level) | |
getRemainder($version) | |
getVersionPattern($version) | |
getWidth($version) | |
lengthIndicator($mode, $version) | |
maximumWords($mode, $version) | |
newFrame($version) | |
putAlignmentMarker(array $frame, $ox, $oy) | -------------------------------------------------------------------- Put an alignment marker. |
putAlignmentPattern($version, $frame, $width) | |
putFinderPattern($frame, $ox, $oy) | -------------------------------------------------------------------- Put a finder pattern. |
rsBlockNum($spec) | |
rsBlockNum1($spec) | |
rsBlockNum2($spec) | |
rsDataCodes1($spec) | |
rsDataCodes2($spec) | |
rsDataLength($spec) | |
rsEccCodes1($spec) | |
rsEccCodes2($spec) | |
rsEccLength($spec) | |
serial($frame) | |
unserial($code) |
public static function createFrame($version)
public static function debug($frame, $binary_mode = false)
- Defaults:
binary_mode
=false
public static function getDataLength($version, $level)
public static function getECCLength($version, $level)
public static function getEccSpec($version, $level, array $spec)
public static function getFormatInfo($mask, $level)
public static function getMinimumVersion($size, $level)
public static function getRemainder($version)
public static function getVersionPattern($version)
public static function getWidth($version)
public static function lengthIndicator($mode, $version)
public static function maximumWords($mode, $version)
public static function newFrame($version)
public static function putAlignmentMarker(array $frame, $ox, $oy)
-------------------------------------------------------------------- Put an alignment marker.
- Parameters:
frame
-width
-ox,oy
- center coordinate of the pattern
public static function putAlignmentPattern($version, $frame, $width)
public static function putFinderPattern($frame, $ox, $oy)
-------------------------------------------------------------------- Put a finder pattern.
- Parameters:
frame
-width
-ox,oy
- upper-left coordinate of the pattern