| | |
| | | function girdCircuitDiagram(stc, flush) { |
| | | |
| | | let diagram = new Diagram(); |
| | | let thisWidth = stc.scrollWidth; |
| | | let thisHeight = stc.scrollHeight; |
| | | diagram.width = thisWidth; |
| | | diagram.height= thisHeight; |
| | | // let thisWidth = stc.scrollWidth; |
| | | // let thisHeight = stc.scrollHeight; |
| | | diagram.width = 236; |
| | | diagram.height= 579; |
| | | diagram.setCanvas(stc, flush); |
| | | |
| | | let start = [1, 40]; |
| | |
| | | lineWidth: lineWidth, |
| | | points: [ |
| | | [line3[0][0],line3[0][1]], |
| | | [line2[1][0]-10, line2[1][1]] |
| | | [line2[1][0], line2[1][1]] |
| | | ] |
| | | }); |
| | | |
| | |
| | | fillStyle: '#ffff18', |
| | | fontSize: 12, |
| | | fontWidth:1, |
| | | point:[dashLine1[1][0]+20,dashLine1[1][1]+70], |
| | | point:[dashLine1[1][0]+20,dashLine1[1][1]+45], |
| | | showPanel: false, |
| | | type:true, |
| | | radBorder: true, |
| | |
| | | fillStyle: '#ffff18', |
| | | fontSize: 12, |
| | | fontWidth:1, |
| | | point:[dashLine1[1][0]+65,dashLine1[1][1]+70], |
| | | point:[dashLine1[1][0]+65,dashLine1[1][1]+45], |
| | | showPanel: false, |
| | | type:true, |
| | | radBorder: true, |
| | |
| | | fillStyle: '#ffff18', |
| | | fontSize: 12, |
| | | fontWidth:1, |
| | | point:[dashLine1[1][0]+65,dashLine1[1][1]+142], |
| | | point:[text6.right[0]+18,text6.right[1]+25], |
| | | // point:[dashLine1[1][0]+65,dashLine1[1][1]+142], |
| | | showPanel: false, |
| | | type:true, |
| | | radBorder: true, |
| | |
| | | fillStyle: '#ffff18', |
| | | fontSize: 12, |
| | | fontWidth:1, |
| | | point:[dashLine1[1][0]+145,dashLine1[1][1]+70], |
| | | point:[dashLine1[1][0]+145,dashLine1[1][1]+45], |
| | | showPanel: false, |
| | | type:true, |
| | | radBorder: true, |
| | |
| | | fillStyle: '#ffff18', |
| | | fontSize: 12, |
| | | fontWidth:1, |
| | | point:[dashLine1[1][0]+190,dashLine1[1][1]+70], |
| | | point:[dashLine1[1][0]+190,dashLine1[1][1]+45], |
| | | showPanel: false, |
| | | type:true, |
| | | radBorder: true, |