完成6075J蓝牙对接
This commit is contained in:
@ -124,9 +124,10 @@
|
||||
*/
|
||||
async drawAndGetPixels() {
|
||||
// 第一次调用时先预热画布(解决APP重新打开后第一次获取数据不完整的问题)
|
||||
await this.warmupCanvas();
|
||||
// await this.warmupCanvas();
|
||||
|
||||
let convertCharToMatrix=function(imageData) {
|
||||
debugger;
|
||||
// console.log("imgData=",imageData)
|
||||
let matrix = [];
|
||||
|
||||
@ -166,6 +167,7 @@
|
||||
}
|
||||
|
||||
let drawTxt=async (textLine)=> {
|
||||
debugger;
|
||||
let result = {};
|
||||
let ctx = this.ctx;
|
||||
|
||||
@ -226,7 +228,7 @@
|
||||
let arr = [];
|
||||
// 循环处理每行文本
|
||||
for (let i = 0; i < this.validTxts.length; i++) {
|
||||
|
||||
debugger;
|
||||
let linePixls = [];
|
||||
let item = this.validTxts[i];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user