Fix help issues (warnings + wrong format in files)
[scilab.git] / scilab / modules / graphics / help / ja_JP / polygon / xfpoly.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) ENPC - Jean-Philippe Chancelier
6  * 
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at    
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"  xml:lang="ja" xml:id="xfpoly">
16     
17     <refnamediv>
18         
19         <refname>xfpoly</refname>
20         
21         <refpurpose>ポリゴンを塗りつぶす</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>xfpoly(xv,yv,[fill])</synopsis>
30         
31     </refsynopsisdiv>
32     
33     <refsection>
34         
35         <title>引数</title>
36         
37         <variablelist>
38             
39             <varlistentry>
40                 
41                 <term>xv,yv</term>
42                 
43                 <listitem>
44                     
45                     <para>同じ大きさの2つのベクトル (ポリゴンの点).</para>
46                     
47                 </listitem>
48                 
49             </varlistentry>
50             
51             <varlistentry>
52                 
53                 <term>fill</term>
54                 
55                 <listitem>
56                     
57                     <para>整数. ポリゴンを塗りつぶす際に使用される色.</para>
58                     
59                 </listitem>
60                 
61             </varlistentry>
62             
63         </variablelist>
64         
65     </refsection>
66     
67     <refsection>
68         
69         <title>説明</title>
70         
71         <para>
72             
73             <literal>xfpoly</literal> はポリゴンをカレントの色または
74             
75             オプション引数<literal>fill</literal>で指定した色で塗りつぶします.
76             
77         </para>
78         
79         <para>
80             
81             <literal>fill</literal>が省略された場合,
82             
83             ポリゴンはカレントの色で塗りつぶされ,輪郭がカレントの色と線種で
84             
85             描画されます.
86             
87             <literal>fill</literal>が指定された場合,
88             
89             以下のようにポリゴンが塗りつぶされます:
90             
91         </para>
92         
93         <itemizedlist>
94             
95             <listitem>
96                 
97                 <para>
98                     
99                     <literal>fill&lt;0</literal>の場合,ポリゴンはその色
100                     
101                     <literal>-fill</literal>で塗りつぶされ,輪郭は描画されません.
102                     
103                 </para>
104                 
105             </listitem>
106             
107             <listitem>
108                 
109                 <para>
110                     
111                     <literal>fill=0</literal>の場合, 
112                     
113                     ポリゴンはカレントの色で塗りつぶされ,
114                     
115                     輪郭はカレントの色と線種で描画されます
116                     
117                     (<literal>fill</literal>省略時と同じ).
118                     
119                 </para>
120                 
121             </listitem>
122             
123             <listitem>
124                 
125                 <para>
126                     
127                     <literal>fill&gt;0</literal>の場合, 
128                     
129                     ポリゴンはその色
130                     
131                     <literal>fill</literal>で塗りつぶされ,輪郭はカレントの色と
132                     
133                     線種で描画されます.
134                     
135                 </para>
136                 
137             </listitem>
138             
139         </itemizedlist>
140         
141     </refsection>
142     
143     <refsection>
144         
145         <title>例</title>
146         
147         <scilab:image>
148             
149             x=sin(2*%pi*(0:4)/5);
150             
151             y=cos(2*%pi*(0:4)/5);
152             
153             plot2d(0,0,-1,"010"," ",[-2,-2,2,2]);
154             
155             xset("color",5);
156             
157             xfpoly(x,y);
158             
159         </scilab:image>
160         
161     </refsection>
162     
163     <refsection>
164         
165         <title>例</title>
166         
167         <programlisting role="example"><![CDATA[ 
168 x=sin(2*%pi*(0:4)/5);
169 y=cos(2*%pi*(0:4)/5);
170 plot2d(0,0,-1,"010"," ",[-2,-2,2,2]);
171 xset("color",5);
172 xfpoly(x,y);
173
174 e=gce(); // カレントのエンティティ(直近に作成: ここではポリライン)を取得
175 e.fill_mode='off'; // 輪郭のみを表示
176
177 delete(e);
178
179 // 新しいポリゴンを作成,色3で塗りつぶし,
180 // カレントの色で輪郭を描画する
181 xfpoly(x,y,3);
182  ]]></programlisting>
183         
184     </refsection>
185     
186     <refsection role="see also">
187         
188         <title>参照</title>
189         
190         <simplelist type="inline">
191             
192             <member>
193                 
194                 <link linkend="xfpolys">xfpolys</link>
195                 
196             </member>
197             
198             <member>
199                 
200                 <link linkend="xpoly">xpoly</link>
201                 
202             </member>
203             
204             <member>
205                 
206                 <link linkend="xpolys">xpolys</link>
207                 
208             </member>
209             
210         </simplelist>
211         
212     </refsection>
213     
214 </refentry>
215