사용자
flyant(비교)
| r1542 vs r1543 | ||
|---|---|---|
| 1 | 1 | {{{#!style |
| 2 | .num-button {width: | |
| 3 | .num-button | |
| 4 | .num-align { | |
| 2 | .num-button {display:inline-block;margin:5px;width:40px;height:40px;border:1px solid red;background:#000;cursor:pointer} | |
| 3 | .num-button:active {background:gray} | |
| 4 | .num-table {display:table;width:inherit;height:inherit} | |
| 5 | .num-align {display:table-cell;text-align:center;vertical-align:middle} | |
| 5 | 6 | }}} |
| 7 | ||
| 6 | 8 | {{{#!wiki class="num-button" onclick="" |
| 7 | ||
| 9 | {{{#!wiki class="num-table" | |
| 10 | {{{#!wiki class="num-align" | |
| 11 | 1}}}}}}}}} | |
| 8 | 12 | |
| 9 | 13 | |
| 10 | 14 | |
| 11 | 15 | |
| 12 | 16 | |
| 13 | 17 | |
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | ||
| 18 | 18 | 1. 아스키 코드 32번 부터 126번 까지의 모든 문자를 코드 내에서 정의한다. |
| 19 | 19 | 2. 사용자가 입력한 텍스트를 전부 하나로 쪼개고 본 알고리즘 내에 정의된 아스키 코드대로 텍스트를 바이너리로 변환한다. |
| 20 | 20 | 3. 변환한 바이너리를 qr 코드에 넣기 전에 바이너리의 총 칸 수를 토대로 qr 코드 템플릿의 크기를 정하여 모든 바이너리가 들어가도록 맞춘다. |
| ... | ... |