-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdoc.drawio
162 lines (162 loc) · 30.4 KB
/
doc.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<mxfile host="65bd71144e">
<diagram id="Esz51ex57NtB0b-GQYBN" name="Page-1">
<mxGraphModel dx="2674" dy="533" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="6" style="edgeStyle=none;html=1;" parent="1" source="2" target="4" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #4fc1ff;">ipcRenderer</span>.<span style="color: #dcdcaa;">send</span>(<span style="color: #ce9178;">"</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; background-color: rgb(24, 20, 29);">ENTER_SCREEN_CUT</span><span style="color: #ce9178;">"</span>);</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-763" y="106" width="308" height="32" as="geometry"/>
</mxCell>
<mxCell id="3" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #4fc1ff;">ipcRenderer</span>.<span style="color: #dcdcaa;">on</span>(<span style="color: #ce9178;">"</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; background-color: rgb(24, 20, 29);">GET_CUT_IMAGE_INFO</span><span style="color: #ce9178;">"</span>, <span style="color: #dcdcaa;">getCutInfo</span>);</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-775" y="1792" width="393" height="32" as="geometry"/>
</mxCell>
<mxCell id="38" style="edgeStyle=none;html=1;" parent="1" source="4" target="37" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="4" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #4fc1ff;">ipcMain</span>.<span style="color: #dcdcaa;">on</span>(<span style="color: #ce9178;">'</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; background-color: rgb(24, 20, 29);">ENTER_SCREEN_CUT</span><span style="color: #ce9178;">'</span>, <span style="color: #dcdcaa;">openCutScreen</span>)</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-228" y="106" width="370" height="32" as="geometry"/>
</mxCell>
<mxCell id="46" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="5" target="13" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="76" y="722"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="5" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div><span style="color: #4fc1ff;">ipcMain</span>.<span style="color: #dcdcaa;">on</span>(<span style="color: #ce9178;">'</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; text-align: center; background-color: rgb(24, 20, 29);">CUT_CURRENT_SCREEN</span><span style="color: #ce9178;">'</span>, <span style="color: #569cd6;">async</span> (<span style="color: #9cdcfe;">e</span>) <span style="color: #569cd6;">=&gt;</span> {</div><div>&nbsp; &nbsp; <span style="color: #569cd6;">let</span> <span style="color: #9cdcfe;">sources</span> = <span style="color: #c586c0;">await</span> <span style="color: #4fc1ff;">desktopCapturer</span>.<span style="color: #dcdcaa;">getSources</span>({</div><div>&nbsp; &nbsp; &nbsp; <span style="color: #9cdcfe;">types</span><span style="color: #9cdcfe;">:</span> [<span style="color: #ce9178;">'screen'</span>],</div><div>&nbsp; &nbsp; &nbsp; <span style="color: #9cdcfe;">thumbnailSize</span><span style="color: #9cdcfe;">:</span> <span style="color: #dcdcaa;">getSize</span>()</div><div>&nbsp; &nbsp; })</div><div>&nbsp; &nbsp; <span style="color: #9cdcfe;">cutWindow</span> &amp;&amp; <span style="color: #9cdcfe;">cutWindow</span>.<span style="color: #9cdcfe;">webContents</span>.<span style="color: #dcdcaa;">send</span>(<span style="color: #ce9178;">'</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; text-align: center; background-color: rgb(24, 20, 29);">GET_CURRENT_SCREEN_IMAGE</span><span style="color: #ce9178;">'</span>, <span style="color: #9cdcfe;">sources</span>[<span style="color: #b5cea8;">0</span>])</div><div>&nbsp; })</div></div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-222" y="536" width="664" height="147" as="geometry"/>
</mxCell>
<mxCell id="33" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="7" target="3" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-11" y="1675"/>
<mxPoint x="-579" y="1675"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div><span style="color: #4fc1ff;">ipcMain</span>.<span style="color: #dcdcaa;">on</span>(<span style="color: #ce9178;">'</span><span style="color: rgb(156, 220, 254); text-align: center;">FINISH_CUT_SCREEN_REGION</span><span style="color: #ce9178;">'</span>, <span style="color: #569cd6;">async</span> (<span style="color: #9cdcfe;">e</span>, <span style="color: #9cdcfe;">cutInfo</span>) <span style="color: #569cd6;">=&gt;</span> {</div><div>&nbsp; &nbsp; <span style="color: #dcdcaa;">closeCutWindow</span>()</div><div>&nbsp; &nbsp; <span style="color: #9cdcfe;">mainWindow</span>.<span style="color: #9cdcfe;">webContents</span>.<span style="color: #dcdcaa;">send</span>(<span style="color: #ce9178;">'</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; text-align: center; background-color: rgb(24, 20, 29);">GET_CUT_IMAGE_INFO</span><span style="color: #ce9178;">'</span>, <span style="color: #9cdcfe;">cutInfo</span>)</div><div>&nbsp; &nbsp; <span style="color: #9cdcfe;">mainWindow</span>.<span style="color: #dcdcaa;">show</span>()</div><div>&nbsp; })</div></div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-235" y="1424.5" width="495" height="108" as="geometry"/>
</mxCell>
<mxCell id="8" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-weight: normal; font-size: 14px; line-height: 19px;"><div><span style="color: #d4d4d4;">&nbsp;</span><span style="color: #4fc1ff;">ipcMain</span><span style="color: #d4d4d4;">.</span><span style="color: #dcdcaa;">on</span><span style="color: #d4d4d4;">(</span><span style="color: #ce9178;">'</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; text-align: center; background-color: rgb(24, 20, 29);">EXIT_SCREEN_CUT</span><span style="color: #ce9178;">'</span><span style="color: #d4d4d4;">, </span><span style="color: #569cd6;">async</span><span style="color: #d4d4d4;"> (</span><span style="color: #9cdcfe;">e</span><span style="color: #d4d4d4;">) </span><span style="color: #569cd6;">=&gt;</span><span style="color: #d4d4d4;"> {</span></div><div><span style="color: #d4d4d4;">&nbsp; &nbsp; </span><span style="color: #dcdcaa;">closeCutWindow</span><span style="color: #d4d4d4;">()</span></div><div><span style="color: #d4d4d4;">&nbsp; &nbsp; </span><span style="color: #9cdcfe;">mainWindow</span><span style="color: #d4d4d4;">.</span><span style="color: #dcdcaa;">show</span><span style="color: #d4d4d4;">()</span></div><div><span style="color: #d4d4d4;">&nbsp; })</span></div></div>" style="text;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-219" y="937" width="382" height="98" as="geometry"/>
</mxCell>
<mxCell id="9" value="HomeRenderer" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-708" y="55" width="100" height="26" as="geometry"/>
</mxCell>
<mxCell id="10" value="CutRenderer" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1185" y="65" width="87" height="26" as="geometry"/>
</mxCell>
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="11" target="5" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="79" y="509"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="11" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #4fc1ff;">ipcRenderer</span>.<span style="color: #dcdcaa;">send</span>(<span style="color: #ce9178;">"</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; background-color: rgb(24, 20, 29);">CUT_CURRENT_SCREEN</span><span style="color: #ce9178;">"</span>);</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1308" y="493" width="326" height="32" as="geometry"/>
</mxCell>
<mxCell id="20" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="13" target="19" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-970" y="771"/>
<mxPoint x="-1093" y="771"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="13" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #4fc1ff;">ipcRenderer</span>.<span style="color: #dcdcaa;">on</span>(<span style="color: #ce9178;">"</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; background-color: rgb(24, 20, 29);">GET_CURRENT_SCREEN_IMAGE</span><span style="color: #ce9178;">"</span>, <span style="color: #dcdcaa;">getSource</span>);</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1317" y="707" width="441" height="32" as="geometry"/>
</mxCell>
<mxCell id="31" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="14" target="30" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="14" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-weight: normal; font-size: 14px; line-height: 19px;"><div><span style="color: #4fc1ff;">ipcRenderer</span><span style="color: #d4d4d4;">.</span><span style="color: #dcdcaa;">on</span><span style="color: #d4d4d4;">(</span><span style="color: #ce9178;">"</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; text-align: center; background-color: rgb(24, 20, 29);">CONFIRM_CUT_SCREEN_REGION</span><span style="color: #ce9178;">"</span><span style="color: #d4d4d4;">, </span><span style="color: #dcdcaa;">confirmCut</span><span style="color: #d4d4d4;">);</span></div></div>" style="text;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-1263" y="1263" width="344" height="41" as="geometry"/>
</mxCell>
<mxCell id="50" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="19" target="49" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="19" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #dcdcaa;">getSource</span></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1137" y="805" width="87" height="31" as="geometry"/>
</mxCell>
<mxCell id="25" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="21" target="24" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="21" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #dcdcaa;">render</span></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1125.5" y="962" width="64" height="31" as="geometry"/>
</mxCell>
<mxCell id="23" value="构建可交互的操作舞台" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1257" y="967" width="138" height="26" as="geometry"/>
</mxCell>
<mxCell id="24" value="选择区域" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1127" y="1060" width="66" height="26" as="geometry"/>
</mxCell>
<mxCell id="28" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="26" target="27" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="26" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #4fc1ff;">globalShortcut</span>.<span style="color: #dcdcaa;">register</span>(<span style="color: #ce9178;">'Enter'</span>, <span style="color: #dcdcaa;">sendFinishCut</span>)</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-222" y="1079" width="380" height="31" as="geometry"/>
</mxCell>
<mxCell id="29" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.439;entryY=-0.098;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="27" target="14" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="27" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #9cdcfe;">cutWindow</span> &amp;&amp; <span style="color: #9cdcfe;">cutWindow</span>.<span style="color: #9cdcfe;">webContents</span>.<span style="color: #dcdcaa;">send</span>(<span style="color: #ce9178;">'</span><span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; background-color: rgb(24, 20, 29);">CONFIRM_CUT_SCREEN_REGION</span><span style="color: #ce9178;">'</span>)</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-305" y="1172" width="547" height="32" as="geometry"/>
</mxCell>
<mxCell id="32" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="1" source="30" target="7" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="30" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div><span style="color: #569cd6;">async</span> <span style="color: #569cd6;">function</span> <span style="color: #dcdcaa;">confirmCut</span>() {</div><div>&nbsp; <span style="color: #569cd6;">const</span> { <span style="color: #4fc1ff;">width</span>, <span style="color: #4fc1ff;">height</span>, <span style="color: #4fc1ff;">x</span>, <span style="color: #4fc1ff;">y</span>, <span style="color: #4fc1ff;">scaleX</span> = <span style="color: #b5cea8;">1</span>, <span style="color: #4fc1ff;">scaleY</span> = <span style="color: #b5cea8;">1</span> } = <span style="color: #9cdcfe;">rect</span>.<span style="color: #9cdcfe;">attrs</span>;</div><div>&nbsp; <span style="color: #569cd6;">let</span> <span style="color: #9cdcfe;">_x</span> = <span style="color: #4fc1ff;">width</span> &gt; <span style="color: #b5cea8;">0</span> ? <span style="color: #4fc1ff;">x</span> : <span style="color: #4fc1ff;">x</span> + <span style="color: #4fc1ff;">width</span> * <span style="color: #4fc1ff;">scaleX</span>;</div><div>&nbsp; <span style="color: #569cd6;">let</span> <span style="color: #9cdcfe;">_y</span> = <span style="color: #4fc1ff;">height</span> &gt; <span style="color: #b5cea8;">0</span> ? <span style="color: #4fc1ff;">y</span> : <span style="color: #4fc1ff;">y</span> + <span style="color: #4fc1ff;">height</span> * <span style="color: #4fc1ff;">scaleY</span>;</div><div>&nbsp; <span style="color: #569cd6;">let</span> <span style="color: #9cdcfe;">pic</span> = <span style="color: #c586c0;">await</span> <span style="color: #dcdcaa;">getCutImage</span>({</div><div>&nbsp; &nbsp; <span style="color: #9cdcfe;">x</span><span style="color: #9cdcfe;">:</span> <span style="color: #9cdcfe;">_x</span>,</div><div>&nbsp; &nbsp; <span style="color: #9cdcfe;">y</span><span style="color: #9cdcfe;">:</span> <span style="color: #9cdcfe;">_y</span>,</div><div>&nbsp; &nbsp; <span style="color: #9cdcfe;">width</span><span style="color: #9cdcfe;">:</span> <span style="color: #9cdcfe;">Math</span>.<span style="color: #dcdcaa;">abs</span>(<span style="color: #4fc1ff;">width</span>) * <span style="color: #4fc1ff;">scaleX</span>,</div><div>&nbsp; &nbsp; <span style="color: #9cdcfe;">height</span><span style="color: #9cdcfe;">:</span> <span style="color: #9cdcfe;">Math</span>.<span style="color: #dcdcaa;">abs</span>(<span style="color: #4fc1ff;">height</span>) * <span style="color: #4fc1ff;">scaleY</span>,</div><div>&nbsp; });</div><div>&nbsp; <span style="color: #4fc1ff;">ipcRenderer</span>.<span style="color: #dcdcaa;">send</span>(<span style="color: #ce9178;">"</span><span style="color: rgb(156, 220, 254); text-align: center;">FINISH_CUT_SCREEN_REGION</span><span style="color: #ce9178;">"</span>, <span style="color: #9cdcfe;">pic</span>);</div><div>}</div></div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1281" y="1358" width="549" height="240" as="geometry"/>
</mxCell>
<mxCell id="41" style="edgeStyle=none;html=1;" parent="1" source="37" target="40" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="37" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div><span style="color: #569cd6;">function</span> <span style="color: #dcdcaa;">openCutScreen</span>() {</div><div>&nbsp; <span style="color: #dcdcaa;">closeCutWindow</span>()</div><div>&nbsp; <span style="color: #9cdcfe;">mainWindow</span>.<span style="color: #dcdcaa;">hide</span>()</div><div>&nbsp; <span style="color: #dcdcaa;">createCutWindow</span>()</div><div>&nbsp; <span style="color: #9cdcfe;">cutWindow</span>.<span style="color: #dcdcaa;">show</span>()</div><div>}</div></div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-152.5" y="177" width="218" height="126" as="geometry"/>
</mxCell>
<mxCell id="39" value="隐藏mainWindow<br>显示CutWindow" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="60" y="221" width="111" height="41" as="geometry"/>
</mxCell>
<mxCell id="40" value="加载截图页面" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-86" y="355" width="90" height="26" as="geometry"/>
</mxCell>
<mxCell id="44" value="获取光标所在屏幕截图" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-360" y="603" width="138" height="26" as="geometry"/>
</mxCell>
<mxCell id="51" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.495;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="49" target="21" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="49" value="更新截图背景" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1138.5" y="879" width="90" height="26" as="geometry"/>
</mxCell>
<mxCell id="58" value="<div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><br></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-1042" y="1606" width="18" height="31" as="geometry"/>
</mxCell>
<mxCell id="59" value="MainProcess" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="-169" y="52" width="87" height="26" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="ygA3aQvaEdBgx882if8K" name="效果图">
<mxGraphModel dx="1074" dy="533" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="aMTae2TWtIgzSxQqGhIS-1" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="137" y="76" width="285" height="179" as="geometry"/>
</mxCell>
<mxCell id="aMTae2TWtIgzSxQqGhIS-2" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="137" y="36" width="285" height="40" as="geometry"/>
</mxCell>
<mxCell id="aMTae2TWtIgzSxQqGhIS-3" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="137" y="255" width="285" height="200" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>