Searched refs:X2DFast (Results 1 – 11 of 11) sorted by relevance
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
D | RightMenu.js | 15 const { X2DFast } = require('./graphics/X2DFast'); 97 X2DFast.px2f.drawCut(this.backgroundCut_, x, y, 1, 0.88, 0, -1, -1); 99 X2DFast.px2f.drawCut(this.backgroundCut_, x, y, 1, 0.3, 0, -1, -1); 101 X2DFast.px2f.drawCut(this.backgroundCut_, x, y, 1, 1, 0, -1, -1); 106 X2DFast.px2f.drawCut( 114 X2DFast.px2f.drawLine(x, y, x + w, y, 0xff808080, 2); 119 X2DFast.px2f.drawText( 133 X2DFast.px2f.drawText( 148 X2DFast.px2f.drawText( 162 X2DFast.px2f.drawText(
|
D | GLFrame.js | 17 import { X2DFast } from './graphics/X2DFast.js'; 241 X2DFast.gi().resetMat();
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
D | X2DFast.js | 23 export class X2DFast { class 25 if (X2DFast.px2f == null) X2DFast.px2f = new X2DFast(); 26 return X2DFast.px2f; 43 X2DFast.transform2D.unit(); 44 X2DFast.transform2D.orthoMat(0, 0, Scr.logicw, Scr.logich); 45 let tm = X2DFast.transform2D.mat; 121 X2DFast.tmpMat.unit(); 128 if (ox !== 0 || oy !== 0) X2DFast.tmpMat.move(-ox, -oy, 0); 129 if (sw !== 1 || sh !== 1) X2DFast.tmpMat.scale(sw, sh, 1); 130 if (ra !== 0) X2DFast.tmpMat.rotate(0, 0, ra); [all …]
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/control/ |
D | XScroll.js | 16 const { X2DFast } = require("../graphics/X2DFast"); 37 X2DFast.gi().fillRect(this.posX_, this.posY_, this.posW_, this.posH_, 0x40808080); 39 …X2DFast.gi().fillRect(this.posX_ + 1, this.posY_ + this.barOff_, this.posW_ - 2, this.posH_ / 3, 0… 42 …X2DFast.gi().fillRect(this.posX_ + this.barOff_, this.posY_ + 1, this.posW_ / 3, this.posH_ - 2, 0…
|
D | XButton.js | 16 const { X2DFast } = require('../graphics/X2DFast'); 20 this.pm2f_ = X2DFast.gi();
|
D | XSelect.js | 16 const { X2DFast } = require('../graphics/X2DFast'); 20 this.pm2f_ = X2DFast.gi();
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ |
D | MainEditor.js | 20 const { X2DFast } = require("./engine/graphics/X2DFast"); 76 … X2DFast.gi().drawText("拖入log文件", 30, Scr.logicw / 2, Scr.logich / 2, 1, 1, 0, -2, -2, 0xff000000); 89 X2DFast.gi().fillRect(0, Scr.logich - 5, XTools.PROC_TO * Scr.logicw / 100, 5, 0xffff0000);
|
D | index.js | 18 import { X2DFast } from './engine/graphics/X2DFast.js'; 39 let pm2f = X2DFast.gi();
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/ |
D | IrViewer.js | 21 const { X2DFast } = require("../engine/graphics/X2DFast"); 72 let bw = X2DFast.gi().getTextWidth(bname, 14) + 6; 95 let bw = X2DFast.gi().getTextWidth(bm[0], 14) + 6; 287 X2DFast.gi().fillRect(tx, ty, w, h, 0x80000000); 306 X2DFast.gi().fillRect(tx + (dx - 3) * sw, ty + (dy - 10) * sh, dw, dh, 0xff000000); 325 X2DFast.gi().fillRect(tx + (dx - 3) * sw, ty + (dy - 10) * sh, dw, dh, 0xff000000); 328 …X2DFast.gi().fillRect(tx + (dx - 3) * sw, ty + (dy - 10) * sh, dw, dh, XTools.CONFIG.NodeColor[n.t… 332 …X2DFast.gi().drawRect(tx - (this.offx_ + x1) * sw, ty - (this.offy_ + y1) * sh, Math.min(Scr.logic… 336 …X2DFast.gi().drawText("Loading " + XTools.PROC_TO.toFixed(1) + "%", 20, Scr.logicw / 2, Scr.logich… 391 X2DFast.gi().fillRect(dx - 3, dy - 10, n.nameWidth + 6, 20, 0xffffff00); [all …]
|
D | LogParser.js | 17 const { X2DFast } = require("../engine/graphics/X2DFast"); 163 let w = X2DFast.gi().getTextWidth(detail, 14); 326 pb.oneBlock.maxDetailWidth = X2DFast.gi().getTextWidth("Empty", 14); 338 let w = X2DFast.gi().getTextWidth(s, 14); 400 pb.oneBlock.maxDetailWidth = X2DFast.gi().getTextWidth("Empty", 14); 412 let w = X2DFast.gi().getTextWidth(s, 14);
|
D | IrToPicture.js | 17 const { X2DFast } = require("../engine/graphics/X2DFast"); 118 nameWidth: X2DFast.gi().getTextWidth(name, 14),
|