Subversion Repositories Applications.gtt

Rev

Rev 61 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
60 jpm 1
<html>
2
	<head>
3
		<title>Documentation</title>
4
		<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
5
		<link rel='stylesheet' href='style.css' />
6
	</head>
7
 
8
	<body>
9
		<div align='center'>
10
		<table cellpadding='0' cellspacing='0' id='contenu' class='round' style='width: 80%; margin-bottom: 20px'>
11
			<tr>
12
				<td class='borderhg'>&nbsp;</td>
13
				<td class='borderh'>&nbsp;</td>
14
				<td class='cornerhd'></td>
15
			</tr>
16
			<tr>
17
				<td class='borderg'>&nbsp;</td>
18
				<td><a id="top"></a><h2> Class FontDriver</h2><div class="description">
19
		<p>
20
			La classe abstraite <a href="FontDriver.html">FontDriver</a> définit toutes les méthodes devant être implémentées pour gérer l'affichage et les calculs à effectuer sur les polices. On dérivera cette classe une fois pour chaque classe enfant de <a href="Font.html">Font</a>, en l'occurence <a href="PHPFontDriver.html">PHPFontDriver</a> pour <a href="PHPFont.html">PHPFont</a> et <a href="FileFontDriver.html">FileFontDriver</a> pour <a href="FileFont.html">FileFont</a>.
21
		</p>
22
		<p>
23
			A aucun moment vous ne devriez avoir à instancier un objet de ce type. La documentation est là à titre informatif pour les développeurs en herbe.
24
		</p>
25
	</div><div class="inherit">
26
			Les classes suivantes dérivent de FontDriver :
27
				<ul>
28
<li><a href="PHPFontDriver.html">PHPFontDriver</a></li>
29
<li><a href="FileFontDriver.html">FileFontDriver</a></li>
30
</ul>
31
</div><ul class="links"><li><a href="index.html">Retourner voir la liste de toutes les classes</a></li></ul><h2>Méthodes et propriétés</h2><ul class="methods">
32
<li>
33
<span class="access">public</span> <a href="FontDriver.html#method.__construct">__construct</a>()
34
	</li>
35
<li>
36
<span class="access">public</span> <a href="FontDriver.html#method.string">string</a>(<a href="Driver.html"><span class="type">Driver</span></a> <span class="argument">$driver</span>, <a href="Text.html"><span class="type">Text</span></a> <span class="argument">$text</span>, <a href="Point.html"><span class="type">Point</span></a> <span class="argument">$point</span>, <span class="type">int</span> <span class="argument">$width</span> := <span class="default">NULL</span>)
37
	</li>
38
<li>
39
<span class="access">public</span> <a href="FontDriver.html#method.getTextWidth">getTextWidth</a>(<a href="Text.html"><span class="type">Text</span></a> <span class="argument">$text</span>)
40
	</li>
41
<li>
42
<span class="access">public</span> <a href="FontDriver.html#method.getTextHeight">getTextHeight</a>(<a href="Text.html"><span class="type">Text</span></a> <span class="argument">$text</span>)
43
	</li>
44
</ul><h2>Documentation</h2><ul class="doc">
45
<li class="method">
46
<a id="method.__construct"></a><span class="access">public</span> <a href="FontDriver.html#method.__construct">__construct</a>()
47
	<div class="description">
48
				Simple constructeur. Ne fait rien pour l'instant.
49
			</div>
50
<div class="description-bottom"><a href="FontDriver.html#top">Remonter</a></div>
51
</li>
52
<li class="method">
53
<a id="method.string"></a><span class="access">public</span> <a href="FontDriver.html#method.string">string</a>(<a href="Driver.html"><span class="type">Driver</span></a> <span class="argument">$driver</span>, <a href="Text.html"><span class="type">Text</span></a> <span class="argument">$text</span>, <a href="Point.html"><span class="type">Point</span></a> <span class="argument">$point</span>, <span class="type">int</span> <span class="argument">$width</span> := <span class="default">NULL</span>)
54
	<div class="description">
55
				Dessine le texte $text.
56
				Le pilote $driver sera utilisé pour le dessin tandis que le texte sera positionné au point $point.
57
				Le paramètre $width permet de spécifier la largeur maximale en pixels de la boîte de texte.
58
			</div>
59
<div class="description-bottom"><a href="FontDriver.html#top">Remonter</a></div>
60
</li>
61
<li class="method">
62
<a id="method.getTextWidth"></a><span class="access">public</span> <a href="FontDriver.html#method.getTextWidth">getTextWidth</a>(<a href="Text.html"><span class="type">Text</span></a> <span class="argument">$text</span>)
63
	<ul class="version"><li>
64
						Supprimé à partir d'Artichow 1.1</li></ul>
65
<div class="description">
66
				Retourne la largeur en pixels occupée par l'objet <a href="Text.html">Text</a> $text.
67
			<div class="see">
68
					Voir aussi :
69
					<ul>
70
<li><a href="Driver.html#method.getTextHeight">Driver::getTextHeight()</a></li>
71
<li><a href="FontDriver.html#method.getTextHeight">FontDriver::getTextHeight()</a></li>
72
<li><a href="FontDriver.html#method.getTextWidth">FontDriver::getTextWidth()</a></li>
73
</ul>
74
</div>
75
</div>
76
<div class="description-bottom"><a href="FontDriver.html#top">Remonter</a></div>
77
</li>
78
<li class="method">
79
<a id="method.getTextHeight"></a><span class="access">public</span> <a href="FontDriver.html#method.getTextHeight">getTextHeight</a>(<a href="Text.html"><span class="type">Text</span></a> <span class="argument">$text</span>)
80
	<ul class="version"><li>
81
						Supprimé à partir d'Artichow 1.1</li></ul>
82
<div class="description">
83
				Retourne la hauteur en pixels occupée par l'objet <a href="Text.html">Text</a> $text.
84
			<div class="see">
85
					Voir aussi :
86
					<ul>
87
<li><a href="Driver.html#method.getTextWidth">Driver::getTextWidth()</a></li>
88
<li><a href="FontDriver.html#method.getTextHeight">FontDriver::getTextHeight()</a></li>
89
<li><a href="FontDriver.html#method.getTextWidth">FontDriver::getTextWidth()</a></li>
90
</ul>
91
</div>
92
</div>
93
<div class="description-bottom"><a href="FontDriver.html#top">Remonter</a></div>
94
</li>
95
</ul>
96
</td>
97
				<td class='borderd'>&nbsp;</td>
98
			</tr>
99
			<tr>
100
				<td class='cornerbg'></td>
101
				<td class='borderb'>&nbsp;</td>
102
				<td class='cornerbd'></td>
103
			</tr>
104
		</table>
105
		</div>
106
	</body>
107
</html>