Tutorials to .com

Tutorials to .com » Php » Xml » ③ resources VML graphics board - VMLgraph. Xml

③ resources VML graphics board - VMLgraph. Xml

Print View , by: iSee ,Total views: 4 ,Word Count: 2848 ,Date: Thu, 16 Apr 2009 Time: 12:39 AM

Resources
***************
* VMLgraph.xml
***************
<? xml version = "1.0" encoding = "GB2312"?>
<root xmlns:v="urn:schemas-microsoft-com:vml">
<toolbar id="1">
<v:group ID="cut" style="width:24; height:24; cursor:hand" coordsize="30,30" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:line from="11,4" to="20,26" />
<v:arc style="left:6; top:12; width:8; height:12;" startangle="180" endangle="400">
<v:fill opacity="0" />
</ v: arc>
<v:line from="19,4" to="10,26" />
<v:arc style="left:16; top:12; width:8; height:12;" startangle="0" endangle="180">
<v:fill opacity="0" />
</ v: arc>
</ v: group>
</ toolbar>
<toolbar id="2">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:shape style="width:30; height:30;" strokecolor="#000000">
<v:path v="m 9,5 l 9,20, 12,16 17,25 19,23 15,15 19,15 xe" />
<v:fill opacity="0" />
</ v: shape>
</ v: group>
</ toolbar>
<toolbar id="3">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="," onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:line from="8,8" to="22,22"/>
</ v: group>
</ toolbar>
<toolbar id="5">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:rect style="top:4; left:4; width:22; height:22;">
<v:fill opacity="0" />
</ v: rect>
</ v: group>
</ toolbar>
<toolbar id="6">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:roundrect style="top:4; left:4; width:22; height:22;" arcsize="0.2">
<v:fill opacity="0" />
</ v: roundrect>
</ v: group>
</ toolbar>
<toolbar id="8">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="," onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:oval style="top:4; left:4; width:22; height:22">
<v:fill opacity="0" />
</ v: oval>
</ v: group>
</ toolbar>
<toolbar id="7">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:shape style="width:30; height:30;" path="m 14,4 l 4,14 12,24 24,18 15,12 xe">
<v:fill opacity="0" />
</ v: shape> [AutoPage]
</ v: group>
</ toolbar>
<toolbar id="9">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:polyline points="4,18 20,4 8,20 24,10 10,22 22,20">
<v:fill opacity="0" />
</ v: polyline>
</ v: group>
</ toolbar>
<toolbar id="4">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:curve from="4,24" control1="8,-10" control2="20,30" to="24,4">
<v:fill opacity="0" />
</ v: curve>
</ v: group>
</ toolbar>
<toolbar id="10">
<v:group style="width:24; height:24; cursor:hand" coordsize="30,30" fillcolor="#ffffff" title="" onClick="select(this)">
<v:rect style="width:30; height:30;" strokecolor="#000000" strokeweight="1" />
<v:line from="14,4" to="4,26" />
<v:line from="15,4" to="24,26" />
<v:line from="10,18" to="20,18" />
</ v: group>
</ toolbar>
<colorbar>
<table cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2">
<v:group style="width:30; height:30;" coordsize="40,40">
<v:rect style="width:40; height:40;" fillcolor="#ccc'" />
<v:rect id="color2" style="left:16; top:16; width:20; height:20;" fillcolor="#ffffff" onMouseDown="setcolorkey=this" title="" />
<v:rect id="color1" style="left:4; top:4; width:20; height:20;" fillcolor="#000000" onMouseDown="setcolorkey=this" title="" />
</ v: group>
</ td>
<td>
<v:rect style="width:30; height:15;" fillcolor="#000000" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#808080" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#800000" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#808000" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#008000" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#008080" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#000080" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#800080" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#808040" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#004040" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#0080ff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#004080" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#4000ff" onClick="setcolor(this.fillcolor)" /> [AutoPage]
<v:rect style="width:30; height:15;" fillcolor="#804000" onClick="setcolor(this.fillcolor)" />
</ td>
</ tr>
<tr>
<td>
<v:rect style="width:30; height:15;" fillcolor="#ffffff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#c0c0c0" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#ff0000" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#ffff00" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#00ff00" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#00ffff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#0000ff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#ff00ff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#ffff80" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#80ffff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#80ffff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#8080ff" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#ff0080" onClick="setcolor(this.fillcolor)" />
<v:rect style="width:30; height:15;" fillcolor="#ff8040" onClick="setcolor(this.fillcolor)" />
</ td>
</ tr>
</ table>
</ colorbar>
<linebox>
<v:group style="width:50; height:80" coordsize="50,80" title="">
<v:rect style="width:50; height:80" />
<v:line from="4,4" to="46,4" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="solid" />
</ v: line>
<v:line from="4,10" to="46,10" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="shortdash" />
</ v: line>
<v:line from="4,16" to="46,16" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="shortdot" />
</ v: line>
<v:line from="4,22" to="46,22" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="shortdashdot" />
</ v: line>
<v:line from="4,28" to="46,28" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="shortdashdotdot" />
</ v: line>
<v:line from="4,34" to="46,34" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="dash" />
</ v: line>
<v:line from="4,40" to="46,40" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="dot" />
</ v: line>
<v:line from="4,46" to="46,46" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="dashdot" />
</ v: line>
<v:line from="4,52" to="46,52" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="longdash" />
</ v: line>
<v:line from="4,58" to="46,58" onClick="dashstyle.dashstyle=this.stroke.dashstyle"> [AutoPage]
<v:stroke dashstyle="longdashdot" />
</ v: line>
<v:line from="4,64" to="46,64" onClick="dashstyle.dashstyle=this.stroke.dashstyle">
<v:stroke dashstyle="longdashdotdot" />
</ v: line>
<v:rect style="left:2; top:68; width:46; height:8;" fillcolor="#c0c0c0" strokecolor="#c0c0c0" />
<v:line from="6,72" to="44,72">
<v:stroke id="dashstyle" dashstyle="solid" size="4" />
</ v: line>
</ v: group>
</ linebox>
<gradient>
<v:group style="WIDTH:120;HEIGHT:120" coordsize="120120" onMouseMove="cursor(1)" onMouseOut="cursor(0)" title="">
<v:rect style="width:120; height:120;" fillcolor="#ffffff" strokecolor="#000000" strokeweight="1" />
<v:group style="left:35; top:13; width:50; height:34" coordsize="50,34">
<v:rect style="width:50; height:34" fillcolor="#ffff80" />
<v:rect style="left:6; top:4; width:16; height:20;" fillcolor="#0000FF" />
<v:oval style="left:18; top:4; width:26; height:26;" fillcolor="#00ff00" />
<v:shape style="width:50; height:34" path="m 8,30 l 22,15 36,30 xe" fillcolor="#FF0000" />
</ v: group>
<v:rect style="left:10; top:10; width:100; height:40;">
<v: fill id = "gradientBar" opacity = "50%" type = "gradient" color = "red" color2 = "blue" angle = "270" colors = "30% yellow, 70% green" focusposition = "50 %, 50% "/>
</ v: rect>
<v: shape id = "gradient1" style = "left: 8; top: 50; width: 120; height: 100;" fillcolor = "red" path = "m 2,0 l 0,4 0,10 5, 10 5,4 xe "onClick =" gradientColor (this) "/>
<v: shape id = "gradient4" style = "left: 108; top: 50; width: 120; height: 100;" fillcolor = "blue" path = "m 2,0 l 0,4 0,10 5, 10 5,4 xe "onClick =" gradientColor (this) "/>
<v: shape id = "gradient2" style = "left: 38; top: 50; width: 120; height: 100;" fillcolor = "yellow" path = "m 2,0 l 0,4 0,10 5, 10 5,4 xe "onClick =" gradientColor (this) "onMouseMove =" gradientPoint (this) "onMouseOut =" gradientX =- 1 "title =" Levels 1 "/>
<v: shape id = "gradient3" style = "left: 78; top: 50; width: 120; height: 100;" fillcolor = "green" path = "m 2,0 l 0,4 0,10 5, 10 5,4 xe "onClick =" gradientColor (this) "onMouseMove =" gradientPoint (this) "onMouseOut =" gradientX =- 1 "title =" Level 2 "/>
title="1" /> <v:line from="10,70" to="110,70"
<v: shape id = "focus1" style = "left: 58; top: 66; width: 120; height: 100;" fillcolor = "white" path = "m 2,0 l 0,4 2,8 4, 4 xe "onMouseMove =" gradientPoint (this) "onMouseOut =" gradientX =- 1 "title =" Focus 1 "/>
title="2" /> <v:line from="10,80" to="110,80"
<v: shape id = "focus2" style = "left: 58; top: 76; width: 120; height: 100;" fillcolor = "red" path = "m 2,0 l 0,4 2,8 4, 4 xe "onMouseMove =" gradientPoint (this) "onMouseOut =" gradientX =- 1 "title =" focus 2 "/>
title="" /> <v:line from="10,90" to="110,90"
<v:line from="10,90" to="10,95" title="0°" onClick="anglePoint(this)" />
<v:line from="35,90" to="35,95" title="90°" onClick="anglePoint(this)" />
<v:line from="60,90" to="60,95" title="180°" onClick="anglePoint(this)" />
<v:line from="85,90" to="85,95" title="270°" onClick="anglePoint(this)" />
<v:line from="110,90" to="110,95" title="360°" onClick="anglePoint(this)" />
<v: shape id = "angle" style = "left: 83; top: 86; width: 120; height: 100;" fillcolor = "white" path = "m 2,0 l 0,4 2,8 4, 4 xe "onMouseMove =" gradientPoint (this) "onMouseOut =" gradientX =- 1 "title =" rotation angle "/> [AutoPage]
title="" /> <v:line from="10100" to="110100"
<v:line from="10100" to="10105" title="100%" onClick="opacityPoint(this)" />
<v:line from="60100" to="60105" title="50%" onClick="opacityPoint(this)" />
<v:line from="110100" to="110105" title="0%" onClick="opacityPoint(this)" />
<v: shape id = "opacity" style = "left: 58; top: 96; width: 120; height: 100;" fillcolor = "white" path = "m 2,0 l 0,4 2,8 4, 4 xe "onMouseMove =" gradientPoint (this) "onMouseOut =" gradientX =- 1 "title =" transparent "/>
</ v: group>
</ gradient>
</ root>


Php XML Application Articles


Can't Find What You're Looking For?


Rating: Not yet rated

Comments

No comments posted.