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: head.svg Example File (demos/declarative/snake/content/pics/head.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">head.svg Example File</h1>
143
<span class="small-subtitle">demos/declarative/snake/content/pics/head.svg</span>
144
<!-- $$$demos/declarative/snake/content/pics/head.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:xlink="http://www.w3.org/1999/xlink"
155
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
156
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
158
sodipodi:version="0.32"
159
inkscape:version="0.46"
161
height="40"
162
version="1.0"
163
sodipodi:docname="head.svg"
164
inkscape:output_extension="org.inkscape.output.svg.inkscape"
165
inkscape:export-filename="/home/ettrich/dev/research/qml-validate/snake/pics/head.png"
166
inkscape:export-xdpi="90"
167
inkscape:export-ydpi="90">
169
id="metadata7">
172
rdf:about="">
173
<dc:format>image/svg+xml</dc:format>
175
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
180
id="defs5">
181
<inkscape:perspective
182
sodipodi:type="inkscape:persp3d"
183
inkscape:vp_x="0 : 526.18109 : 1"
184
inkscape:vp_y="0 : 1000 : 0"
185
inkscape:vp_z="744.09448 : 526.18109 : 1"
186
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
187
id="perspective9" />
188
<inkscape:perspective
189
id="perspective2444"
190
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
191
inkscape:vp_z="744.09448 : 526.18109 : 1"
192
inkscape:vp_y="0 : 1000 : 0"
193
inkscape:vp_x="0 : 526.18109 : 1"
194
sodipodi:type="inkscape:persp3d" />
196
<sodipodi:namedview
197
inkscape:window-height="838"
198
inkscape:window-width="907"
199
inkscape:pageshadow="2"
200
inkscape:pageopacity="0.0"
201
guidetolerance="10.0"
202
gridtolerance="10.0"
203
objecttolerance="10.0"
204
borderopacity="1.0"
205
bordercolor="#666666"
206
pagecolor="#ffffff"
208
showgrid="false"
209
inkscape:zoom="12.35"
210
inkscape:cx="20"
211
inkscape:cy="20"
212
inkscape:window-x="117"
213
inkscape:window-y="45"
214
inkscape:current-layer="svg2" />
216
y="0.21862352"
217
x="-0.048582077"
218
id="image2446"
219
height="40"
221
sodipodi:absref="/home/ettrich/dev/research/qml-validate/snake/pics/redStone.png"
222
xlink:href="redStone.png" />
224
sodipodi:type="arc"
225
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
226
id="path2384"
227
sodipodi:cx="18.056681"
228
sodipodi:cy="9.5141697"
229
sodipodi:rx="7.1255059"
230
sodipodi:ry="11.295547"
231
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"
232
transform="matrix(1.0089865,0,0,0.5462656,-4.9233835,3.3301401)" />
234
sodipodi:type="arc"
235
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
236
id="path3158"
237
sodipodi:cx="18.056681"
238
sodipodi:cy="9.5141697"
239
sodipodi:rx="7.1255059"
240
sodipodi:ry="11.295547"
241
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"
242
transform="matrix(1.0089865,0,0,0.5462656,9.6190931,3.3522563)" />
244
sodipodi:type="arc"
245
style="fill:#000000;fill-opacity:1"
246
id="path3182"
247
sodipodi:cx="16.275303"
248
sodipodi:cy="12.307693"
249
sodipodi:rx="2.2672064"
250
sodipodi:ry="3.4008098"
251
d="M 18.542509,12.307693 A 2.2672064,3.4008098 0 0 1 14.008446,12.367372"
252
sodipodi:start="0"
253
sodipodi:end="3.1240432"
254
transform="translate(11.65992,-9.740891)"
255
sodipodi:open="true" />
257
style="fill:#000000;fill-opacity:0"
258
id="rect2382"
260
height="40"
262
y="-7.1054274e-15"
263
inkscape:export-filename="/home/ettrich/dev/research/qml-validate/snake/pics/eyes.png"
264
inkscape:export-xdpi="90"
265
inkscape:export-ydpi="90" />
267
sodipodi:type="arc"
268
style="fill:#000000;fill-opacity:1"
269
id="path2383"
270
sodipodi:cx="16.275303"
271
sodipodi:cy="12.307693"
272
sodipodi:rx="2.2672064"
273
sodipodi:ry="3.4008098"
274
d="M 18.542509,12.307693 A 2.2672064,3.4008098 0 0 1 14.008446,12.367372"
275
sodipodi:start="0"
276
sodipodi:end="3.1240432"
277
transform="translate(-3.3200119,-9.821862)"
278
sodipodi:open="true" />
281
<!-- @@@demos/declarative/snake/content/pics/head.svg -->
282
<div class="feedback t_button">
283
[+] Documentation Feedback</div>
293
<acronym title="Copyright">©</acronym> 2008-2010 Nokia Corporation and/or its
294
subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation
295
in Finland and/or other countries worldwide.</p>
297
All other trademarks are property of their respective owners. <a title="Privacy Policy"
298
href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
301
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>
303
Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
304
Free Documentation License version 1.3</a>
305
as published by the Free Software Foundation.</p>
307
<div id="feedbackBox">
308
<div id="feedcloseX" class="feedclose t_button">X</div>
309
<form id="feedform" action="http://doc.qt.nokia.com/docFeedbck/feedback.php" method="get">
310
<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
311
requests, please use the <a href="http://bugreports.qt.nokia.com/secure/Dashboard.jspa">Qt Bug Tracker</a>.</p>
312
<p><textarea id="feedbox" name="feedText" rows="5" cols="40"></textarea></p>
313
<p><input id="feedsubmit" class="feedclose" type="submit" name="feedback" /></p>