1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>fr</LANGUAGE>
5
<TITLE>xstringb </TITLE>
6
<TYPE>Scilab Function </TYPE>
7
<DATE>April 1993 </DATE>
8
<SHORT_DESCRIPTION name="xstringb"> dessine des cha�nes de caract�res dans une bo�te </SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>xstringb(x,y,str,w,h,[option]) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>x,y,w,h </PARAM_NAME>
18
: vecteur de 4 scalaires d�finissant la bo�te
23
<PARAM_NAME>str </PARAM_NAME>
26
: matrice de cha�nes de caract�res.
31
<PARAM_NAME>option </PARAM_NAME>
34
: cha�ne de caract�res.
42
<VERB>xstringb</VERB> dessine la matrice de cha�nes de caract�res <VERB>str</VERB> centr�e dans le
43
le rectangle <VERB>rect=[x,y,w,h]</VERB> (point en haut � gauche, largeur, hauteur) dans l'�chelle graphique courante.
44
Si <VERB>option</VERB> est donn� avec la valeur <VERB>"fill"</VERB>, la taille de la police est calcul�e
45
de mani�re � remplir le rectangle au maximum.
48
Taper <VERB>xstringb()</VERB> pour voir une d�monstration de la fonction.
52
str=["Scilab" "n''est ";"pas" "Matlab"];
53
plot2d(0,0,[-1,1],"010"," ",[0,0,1,1]);
55
xstringb(r(1),r(2),str,r(3),r(4),"fill");
56
xrect(r(1),r(2)+r(4),r(3),r(4))
57
r=[r(1),r(2)+r(4)+0.01,r(3),r(4)/2];
58
xrect(r(1),r(2)+r(4),r(3),r(4))
59
xstringb(r(1),r(2),str,r(3),r(4),"fill");
60
r=[r(1),r(2)+r(4)+0.01,r(3),r(4)/2];
61
xrect(r(1),r(2)+r(4),r(3),r(4))
62
xstringb(r(1),r(2),str,r(3),r(4),"fill");
65
<SEE_ALSO_ITEM> <LINK>titlepage</LINK> </SEE_ALSO_ITEM> <SEE_ALSO_ITEM> <LINK>xstring</LINK> </SEE_ALSO_ITEM> <SEE_ALSO_ITEM> <LINK>xstringl</LINK> </SEE_ALSO_ITEM> <SEE_ALSO_ITEM> <LINK>xtitle</LINK> </SEE_ALSO_ITEM>
67
<AUTHOR>J.Ph.C. </AUTHOR>