Examples of calQrcode()


Examples of com.swetake.util.Qrcode.calQrcode()

               gs.setColor(Color.BLACK)
                // ����ƫ�����������ÿ��ܵ��½������� 
               int pixoff = 2
                // �������> ��ά�� 
               if (contentBytes.length > 0 && contentBytes.length < 800) { 
                  boolean[][] codeOut = qrcodeHandler.calQrcode(contentBytes)
                    for (int i = 0; i < codeOut.length; i++) { 
                      for (int j = 0; j < codeOut.length; j++) { 
                           if (codeOut[j][i]) { 
                           gs.fillRect(j * 3 + pixoff, i * 3 + pixoff, 3, 3)
                           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.