Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
4158 bpr 1
slib_lang_exists_tmp=yes
2
 
3
slib_title=Regular polygon
4
slib_parms=4\
5
5,number of vertices\
6
,list of colors\
5903 bpr 7
vertex,option: <span class="tt">vertex</span>, <span class="tt">edge</span>, <span class="tt">circle</span>\
8
raw,option words: <span class="tt">url</span>, <span class="tt">html</span>, <span class="tt">raw</span>
4158 bpr 9
 
4175 bpr 10
slib_out= Regular polygon with rays
5903 bpr 11
slib_comment=The first item of the output is: by default, the flydraw code (option word <span class="tt">raw</span>); \
12
the address of the generated image if the option word is <span class="tt">url</span> ; \
13
the html code for inserting image if the option word is the option <span class="tt">html</span>.\
5768 bpr 14
<br/>\
4214 bpr 15
Colors can be in RGB (inside brackets) ; rays from the vertex\
5903 bpr 16
(option <span class="tt">edge</span>) or from the middle of the edges (option <span class="tt">vertex</span>) or both. \
17
If the option is <span class="tt">circle</span>, a disk is drawn (not a polygon).