1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
<title>Qt 4.7: eyes.svg Example File (demos/declarative/snake/content/pics/eyes.svg)</title>
7
<link rel="stylesheet" type="text/css" href="style/style.css" />
8
<script src="scripts/jquery.js" type="text/javascript"></script>
9
<script src="scripts/functions.js" type="text/javascript"></script>
11
<body class="offline narrow creator">
12
<div class="header" id="qtdocheader">
15
<a href="index.html">Home</a></div>
16
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
17
<div id="nav-topright">
19
<li class="nav-topright-home"><a href="http://qt.nokia.com/">Qt HOME</a></li>
20
<li class="nav-topright-dev"><a href="http://developer.qt.nokia.com/">DEV</a></li>
21
<li class="nav-topright-labs"><a href="http://labs.qt.nokia.com/blogs/">LABS</a></li>
22
<li class="nav-topright-doc nav-topright-doc-active"><a href="http://doc.qt.nokia.com/">
24
<li class="nav-topright-blog"><a href="http://blog.qt.nokia.com/">BLOG</a></li>
29
<li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.7</a></span></li>
30
<li class="shortCut-topleft-active"><a href="http://doc.qt.nokia.com">ALL VERSIONS </a></li>
33
<ul class="sf-menu sf-js-enabled sf-shadow" id="narrowmenu">
34
<li><a href="#">API Lookup</a>
36
<li><a href="classes.html">Class index</a></li>
37
<li><a href="functions.html">Function index</a></li>
38
<li><a href="modules.html">Modules</a></li>
39
<li><a href="namespaces.html">Namespaces</a></li>
40
<li><a href="qtglobal.html">Global Declarations</a></li>
41
<li><a href="licensing.html">Licenses and Credits</a></li>
44
<li><a href="#">Qt Topics</a>
45
<ul id="topmenuTopic">
46
<li><a href="qt-basic-concepts.html">Programming with Qt</a></li>
47
<li><a href="qtquick.html">Device UI's & Qt Quick</a></li>
48
<li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
49
<li><a href="developing-with-qt.html">Cross-platform and Platform-specific</a></li>
50
<li><a href="platform-specific.html">Platform-specific info</a></li>
51
<li><a href="technology-apis.html">Qt and Key Technologies</a></li>
52
<li><a href="best-practices.html">How-To's and Best Practices</a></li>
55
<li><a href="#">Examples</a>
56
<ul id="topmenuexample">
57
<li><a href="all-examples.html">Examples</a></li>
58
<li><a href="tutorials.html">Tutorials</a></li>
59
<li><a href="demos.html">Demos</a></li>
60
<li><a href="qdeclarativeexamples.html">QML Examples</a></li>
70
<div class="bd group">
72
<div class="searchlabel">
75
<form id="qtdocsearch" action="" onsubmit="return false;">
77
<input type="text" name="searchstring" id="pageType" value="" />
81
<div class="box first bottombar" id="lookup">
82
<h2 title="API Lookup"><span></span>
84
<div id="list001" class="list">
86
<li class="defaultLink"><a href="classes.html">Class index</a></li>
87
<li class="defaultLink"><a href="functions.html">Function index</a></li>
88
<li class="defaultLink"><a href="modules.html">Modules</a></li>
89
<li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
90
<li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
91
<li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
95
<div class="box bottombar" id="topics">
96
<h2 title="Qt Topics"><span></span>
98
<div id="list002" class="list">
100
<li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li>
101
<li class="defaultLink"><a href="qtquick.html">Device UI's & Qt Quick</a></li>
102
<li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
103
<li class="defaultLink"><a href="developing-with-qt.html">Cross-platform and Platform-specific</a></li>
104
<li class="defaultLink"><a href="platform-specific.html">Platform-specific info</a></li>
105
<li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li>
106
<li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li>
110
<div class="box" id="examples">
111
<h2 title="Examples"><span></span>
113
<div id="list003" class="list">
115
<li class="defaultLink"><a href="all-examples.html">Examples</a></li>
116
<li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
117
<li class="defaultLink"><a href="demos.html">Demos</a></li>
118
<li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
124
<div class="toolbar">
125
<div class="breadcrumb toolblock">
127
<li class="first"><a href="index.html">Home</a></li>
128
<!-- Bread crumbs goes here -->
131
<div class="toolbuttons toolblock">
133
<li id="smallA" class="t_button">A</li>
134
<li id="medA" class="t_button active">A</li>
135
<li id="bigA" class="t_button">A</li>
136
<li id="print" class="t_button"><a href="javascript:this.print();">
137
<span>Print</span></a></li>
141
<div class="content">
142
<h1 class="title">eyes.svg Example File</h1>
143
<span class="small-subtitle">demos/declarative/snake/content/pics/eyes.svg</span>
144
<!-- $$$demos/declarative/snake/content/pics/eyes.svg-description -->
145
<div class="descr"> <a name="details"></a>
146
<pre class="highlightedCode brush: cpp"> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
147
<!-- Created with Inkscape (http://www.inkscape.org/) -->
149
xmlns:dc="http://purl.org/dc/elements/1.1/"
150
xmlns:cc="http://creativecommons.org/ns#"
151
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
152
xmlns:svg="http://www.w3.org/2000/svg"
153
xmlns="http://www.w3.org/2000/svg"
154
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
155
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
157
sodipodi:version="0.32"
158
inkscape:version="0.46"
160
height="40"
161
version="1.0"
162
sodipodi:docname="eyes.svg"
163
inkscape:output_extension="org.inkscape.output.svg.inkscape"
164
inkscape:export-filename="/home/ettrich/dev/research/qml-validate/snake/pics/eyes.png"
165
inkscape:export-xdpi="90"
166
inkscape:export-ydpi="90">
168
id="metadata7">
171
rdf:about="">
172
<dc:format>image/svg+xml</dc:format>
174
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
179
id="defs5">
180
<inkscape:perspective
181
sodipodi:type="inkscape:persp3d"
182
inkscape:vp_x="0 : 526.18109 : 1"
183
inkscape:vp_y="0 : 1000 : 0"
184
inkscape:vp_z="744.09448 : 526.18109 : 1"
185
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
186
id="perspective9" />
188
<sodipodi:namedview
189
inkscape:window-height="838"
190
inkscape:window-width="907"
191
inkscape:pageshadow="2"
192
inkscape:pageopacity="0.0"
193
guidetolerance="10.0"
194
gridtolerance="10.0"
195
objecttolerance="10.0"
196
borderopacity="1.0"
197
bordercolor="#666666"
198
pagecolor="#ffffff"
200
showgrid="false"
201
inkscape:zoom="12.35"
202
inkscape:cx="20"
203
inkscape:cy="20"
204
inkscape:window-x="117"
205
inkscape:window-y="45"
206
inkscape:current-layer="svg2" />
208
sodipodi:type="arc"
209
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
210
id="path2384"
211
sodipodi:cx="18.056681"
212
sodipodi:cy="9.5141697"
213
sodipodi:rx="7.1255059"
214
sodipodi:ry="11.295547"
215
d="M 25.182187,9.5141697 A 7.1255059,11.295547 0 1 1 10.931175,9.5141697 A 7.1255059,11.295547 0 1 1 25.182187,9.5141697 z"
216
transform="matrix(1.0089865,0,0,0.5462656,-4.9233835,3.3301401)" />
218
sodipodi:type="arc"
219
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
220
id="path3158"
221
sodipodi:cx="18.056681"
222
sodipodi:cy="9.5141697"
223
sodipodi:rx="7.1255059"
224
sodipodi:ry="11.295547"
225
d="M 25.182187,9.5141697 A 7.1255059,11.295547 0 1 1 10.931175,9.5141697 A 7.1255059,11.295547 0 1 1 25.182187,9.5141697 z"
226
transform="matrix(1.0089865,0,0,0.5462656,9.6190931,3.3522563)" />
228
sodipodi:type="arc"
229
style="fill:#000000;fill-opacity:1"
230
id="path3182"
231
sodipodi:cx="16.275303"
232
sodipodi:cy="12.307693"
233
sodipodi:rx="2.2672064"
234
sodipodi:ry="3.4008098"
235
d="M 18.542509,12.307693 A 2.2672064,3.4008098 0 0 1 14.008446,12.367372"
236
sodipodi:start="0"
237
sodipodi:end="3.1240432"
238
transform="translate(11.65992,-9.740891)"
239
sodipodi:open="true" />
241
style="fill:#000000;fill-opacity:0"
242
id="rect2382"
244
height="40"
246
y="-7.1054274e-15"
247
inkscape:export-filename="/home/ettrich/dev/research/qml-validate/snake/pics/eyes.png"
248
inkscape:export-xdpi="90"
249
inkscape:export-ydpi="90" />
251
sodipodi:type="arc"
252
style="fill:#000000;fill-opacity:1"
253
id="path2383"
254
sodipodi:cx="16.275303"
255
sodipodi:cy="12.307693"
256
sodipodi:rx="2.2672064"
257
sodipodi:ry="3.4008098"
258
d="M 18.542509,12.307693 A 2.2672064,3.4008098 0 0 1 14.008446,12.367372"
259
sodipodi:start="0"
260
sodipodi:end="3.1240432"
261
transform="translate(-3.3200119,-9.821862)"
262
sodipodi:open="true" />
265
<!-- @@@demos/declarative/snake/content/pics/eyes.svg -->
266
<div class="feedback t_button">
267
[+] Documentation Feedback</div>
277
<acronym title="Copyright">©</acronym> 2008-2010 Nokia Corporation and/or its
278
subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation
279
in Finland and/or other countries worldwide.</p>
281
All other trademarks are property of their respective owners. <a title="Privacy Policy"
282
href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
285
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.</p>
287
Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
288
Free Documentation License version 1.3</a>
289
as published by the Free Software Foundation.</p>
291
<div id="feedbackBox">
292
<div id="feedcloseX" class="feedclose t_button">X</div>
293
<form id="feedform" action="http://doc.qt.nokia.com/docFeedbck/feedback.php" method="get">
294
<p id="noteHead">Thank you for giving your feedback.</p> <p class="note">Make sure it is related to this specific page. For more general bugs and
295
requests, please use the <a href="http://bugreports.qt.nokia.com/secure/Dashboard.jspa">Qt Bug Tracker</a>.</p>
296
<p><textarea id="feedbox" name="feedText" rows="5" cols="40"></textarea></p>
297
<p><input id="feedsubmit" class="feedclose" type="submit" name="feedback" /></p>