Home
last modified time | relevance | path

Searched refs:X2DFast (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/
DRightMenu.js15 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(
DGLFrame.js17 import { X2DFast } from './graphics/X2DFast.js';
241 X2DFast.gi().resetMat();
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DX2DFast.js23 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/
DXScroll.js16 const { X2DFast } = require("../graphics/X2DFast");
37 X2DFast.gi().fillRect(this.posX_, this.posY_, this.posW_, this.posH_, 0x40808080);
39X2DFast.gi().fillRect(this.posX_ + 1, this.posY_ + this.barOff_, this.posW_ - 2, this.posH_ / 3, 0…
42X2DFast.gi().fillRect(this.posX_ + this.barOff_, this.posY_ + 1, this.posW_ / 3, this.posH_ - 2, 0…
DXButton.js16 const { X2DFast } = require('../graphics/X2DFast');
20 this.pm2f_ = X2DFast.gi();
DXSelect.js16 const { X2DFast } = require('../graphics/X2DFast');
20 this.pm2f_ = X2DFast.gi();
/arkcompiler/ets_runtime/tools/circuit_viewer/src/
DMainEditor.js20 const { X2DFast } = require("./engine/graphics/X2DFast");
76X2DFast.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);
Dindex.js18 import { X2DFast } from './engine/graphics/X2DFast.js';
39 let pm2f = X2DFast.gi();
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/
DIrViewer.js21 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);
328X2DFast.gi().fillRect(tx + (dx - 3) * sw, ty + (dy - 10) * sh, dw, dh, XTools.CONFIG.NodeColor[n.t…
332X2DFast.gi().drawRect(tx - (this.offx_ + x1) * sw, ty - (this.offy_ + y1) * sh, Math.min(Scr.logic…
336X2DFast.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 …]
DLogParser.js17 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);
DIrToPicture.js17 const { X2DFast } = require("../engine/graphics/X2DFast");
118 nameWidth: X2DFast.gi().getTextWidth(name, 14),