??
字號:
<?xml version="1.0" encoding="utf-8"?>
<vg version="723" activesheetIndex="1" range="0,0,800,600" borderstyle="1" scrollbars="0" windowstate="1" backcolor="$0" paperbounds="0,0,827,1169" papervisible="false">
<sheet name="綆¢亾" bounds="5,5,45,10" visible="false" protect="40">
<line name="line1" origin="35,7.5" linetype="0" frontcolor="$8080" pattern="245" points="5,5,6 10,10,2 45,10,2 40,5,3"/>
<line name="line2" origin="20,30" points="5,5,6">
<programe>
<!--
published function OnNodeChange(Sender)
p = Point( Sender.x[0], Sender.y[0] )
p1 = Point( Line1.x[1] - Height, Line1.y[0] )
p2 = Point( Line1.x[1], Line1.y[0] )
p3 = Point( Line1.x[1] + Height, Line1.y[0] )
dis1 = sqrt( sqr( p.x - p1.x ) + sqr( p.y - p1.y ) )
dis2 = sqrt( sqr( p.x - p2.x ) + sqr( p.y - p2.y ) )
dis3 = sqrt( sqr( p.x - p3.x ) + sqr( p.y - p3.y ) )
dis = dis1
FStartCap = 0
if dis2 < dis1 then
dis = dis2
FStartCap = 1
end if
if dis3 < dis then
dis = dis3
FStartCap = 2
end if
if FStartCap = 0 then
Sender.x[0] = p1.x
Sender.y[0] = p1.y
else if FStartCap = 1 then
Sender.x[0] = p2.x
Sender.y[0] = p2.y
else
Sender.x[0] = p3.x
Sender.y[0] = p3.y
end if
Line1.x[0] = Sender.x[0]
Line1.y[0] = Sender.y[0]
Line1.Refresh()
end function
-->
</programe>
</line>
<line name="line3" origin="20,20" points="40,5,6">
<programe>
<!--
published function OnNodeChange(Sender)
p = Point( Sender.x[0], Sender.y[0] )
p1 = Point( Line1.x[2] - Height, Line1.y[3] )
p2 = Point( Line1.x[2], Line1.y[3] )
p3 = Point( Line1.x[2] + Height, Line1.y[3] )
dis1 = sqrt( sqr( p.x - p1.x ) + sqr( p.y - p1.y ) )
dis2 = sqrt( sqr( p.x - p2.x ) + sqr( p.y - p2.y ) )
dis3 = sqrt( sqr( p.x - p3.x ) + sqr( p.y - p3.y ) )
dis = dis1
FEndCap = 0
if dis2 < dis1 then
dis = dis2
FEndCap = 1
end if
if dis3 < dis then
dis = dis3
FEndCap = 2
end if
if FEndCap = 0 then
Sender.x[0] = p1.x
Sender.y[0] = p1.y
else if FEndCap = 1 then
Sender.x[0] = p2.x
Sender.y[0] = p2.y
else
Sender.x[0] = p3.x
Sender.y[0] = p3.y
end if
Line1.x[3] = Sender.x[0]
Line1.y[3] = Sender.y[0]
Line1.Refresh()
end function
-->
</programe>
</line>
<programe>
<!--
property EndCap read FEndCap write SetEndCap
private function Initialize(Sender)
FStartCap = 0
FEndCap = 0
end function
private function OnResize(Sender)
a = Line1.x[0] - Line1.x[1]
if a <= 0 then
Line1.x[0] = Left
else
Line1.x[0] = Left + Height
end if
Line1.y[0] = Top
if a < 0 then
Line1.x[1] = Left + Height
else
Line1.x[1] = Left
end if
Line1.y[1] = Top + Height
b = Line1.x[3] - Line1.x[2]
if b <= 0 then
Line1.x[2] = Left + Width
else
Line1.x[2] = Left + Width - Height
end if
Line1.y[2] = Top + Height
if b < 0 then
Line1.x[3] = Left + Width - Height
else
Line1.x[3] = Left + Width
end if
Line1.y[3] = Top
Line1.Refresh()
Line2.MoveTo( Line1.x[0], Line1.y[0] )
Line3.MoveTo( Line1.x[3], Line1.y[3] )
end function
private function SetEndCap(AValue)
if AValue = 0 then
Line1.x[2] = Left + Width
Line1.x[3] = Left + Width - Height
else if AValue = 1 then
Line1.x[2] = Left + Width
Line1.x[3] = Left + Width
else
Line1.x[2] = Left + Width - Height
Line1.x[3] = Left + Width
end if
FEndCap = AValue
Line1.Refresh()
Line3.MoveTo( Line1.x[3], Line1.y[3] )
Refresh()
end function
private function SetStartCap(AValue)
if AValue = 0 then
Line1.x[0] = Left
Line1.x[1] = Left + Height
else if AValue = 1 then
Line1.x[0] = Left
Line1.x[1] = Left
else
Line1.x[0] = Left + Height
Line1.x[1] = Left
end if
FStartCap = AValue
Line1.Refresh()
Line2.MoveTo( Line1.x[0], Line1.y[0] )
Refresh()
end function
property StartCap read FStartCap write SetStartCap
-->
</programe>
</sheet>
<sheet name="Sheet1" bounds="-15,44,789,581">
<line name="Line15" origin="512,204" linecolor="$FFFFFF" points="504,196,6 512,196,2 512,212,2 504,212,2"/>
<line name="Line32" origin="260,-65" linecolor="$FFFFFF" points="260,53,6 260,237,2"/>
<綆¢亾 name="綆¢亾13" lib="" origin="19,240.1" bounds="10,206,91,212" protect="40" EndCap="1" StartCap="0"/>
<綆¢亾 name="綆¢亾11" lib="" origin="610,253" bounds="651,221,675,227" angle="90" protect="40" EndCap="0" StartCap="1"/>
<綆¢亾 name="綆¢亾10" lib="" origin="610,100.75" bounds="647.2,68.7,677.2,74.75" angle="90" protect="40" EndCap="1" StartCap="0"/>
<綆¢亾 name="綆¢亾8" lib="" origin="447,101" bounds="484,68,514,74" angle="90" protect="40" EndCap="1" StartCap="2"/>
<綆¢亾 name="綆¢亾7" lib="" origin="400,230.5" bounds="390,198,456,204" protect="40" EndCap="1" StartCap="0"/>
<綆¢亾 name="綆¢亾1" lib="" origin="364,284.5" bounds="354,252,396,258" protect="40" EndCap="0" StartCap="1"/>
<綆¢亾 name="綆¢亾5" lib="" origin="206,284.5" bounds="186,252,228,258" protect="40" EndCap="1" StartCap="2"/>
<綆¢亾 name="綆¢亾2" lib="" origin="57,143" bounds="52,110,82,116" angle="90" protect="40" EndCap="1" StartCap="1"/>
<line name="Line33" origin="479,246" linecolor="$FFFFFF" points="479,246,6 479,419,2"/>
<line name="Line1" origin="302,136" linecolor="$FFFFFF" points="303,336,6 303,430,2"/>
<text name="Text12" origin="716,205" bounds="712,195,723,213" autosize="true" border="0" fontname="瀹嬩綋" fontsize="14" fontcolor="$FFFF" textalign="1" text="a"/>
<line name="Line6" origin="257,315" linecolor="$FFFFFF" endarrow="14" points="85,247,6 85,330,2 425,330,2 425,235,2 450,235,2"/>
<element name="Element5" origin="91.36159,283.5" bounds="81,273,101.22319,294" angle="90">
<pie name="Arc1" origin="115,240" bounds="83,273,100,284" EndAngle="180" StartAngle="0" frontcolor="$FFFF00" pattern="243"/>
<rect name="Rect1" origin="94,292" bounds="90,278,92.72319,289" linecolor="$808080" frontcolor="$FFFF00" pattern="243"/>
<闃
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -