Subversion Repositories wimsdev

Rev

Rev 10826 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10826 Rev 15514
Line 1... Line 1...
1
<h2>Dynamic drawing</h2>
1
<h2 class="wimscenter">Dynamic drawing</h2>
2
 
2
 
3
<p>It is possible to include 2D drawings into the statement of your exercises
3
<p>It is possible to include 2D drawings into the statement of your exercises
4
(under html format). These drawings are dynamic, that is, you can use variables in your draw commands,
4
(under html format). These drawings are dynamic, that is, you can use variables in your draw commands,
5
and the result will vary with the values of the variables. It is even possible to produce animations.
5
and the result will vary with the values of the variables. It is even possible to produce animations.
6
</p><p>
6
</p><p>
Line 15... Line 15...
15
</pre>
15
</pre>
16
where <span class="tt">xsize, ysize</span> are respectively the width and height of the picture
16
where <span class="tt">xsize, ysize</span> are respectively the width and height of the picture
17
(in number of pixels), and <span class="tt">command...</span> is the content of the commands.
17
(in number of pixels), and <span class="tt">command...</span> is the content of the commands.
18
That is a text composed of several lines, each line being one command.
18
That is a text composed of several lines, each line being one command.
19
<p>
19
<p>
20
 
-
 
21
!href cmd=help&special_parm=draw_example Example.
20
!href cmd=help&special_parm=draw_example Example.
22
</p>
21
</p>
-
 
22
<hr/>
-
 
23
 
23
!changeto help/flydraw.phtml
24
!changeto help/flydraw.phtml