• Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/barcode/barcodegenerator.php
  • Класс: BitrixUIBarcodeBarcodeGenerator
  • Вызов: BarcodeGenerator::dmtx_place_3
private function dmtx_place_3(&$matrix, $rows, $cols, $b) {
	$matrix[$rows - 3][0] = (($b & 0x80) ? 1 : 0);
	$matrix[$rows - 2][0] = (($b & 0x40) ? 1 : 0);
	$matrix[$rows - 1][0] = (($b & 0x20) ? 1 : 0);
	$matrix[0][$cols - 2] = (($b & 0x10) ? 1 : 0);
	$matrix[0][$cols - 1] = (($b & 0x08) ? 1 : 0);
	$matrix[1][$cols - 1] = (($b & 0x04) ? 1 : 0);
	$matrix[2][$cols - 1] = (($b & 0x02) ? 1 : 0);
	$matrix[3][$cols - 1] = (($b & 0x01) ? 1 : 0);
}