Rev 2690 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2690 | Rev 3263 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | <center><h3>Dynamic drawing</h3></center> |
- | |
2 | - | ||
3 | 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, and the result will vary with the values of the variables. It is even possible to produce animations. |
- | |
5 | - | ||
6 | <p> |
- | |
7 | Syntax: <tt>\draw{xsize,ysize}{command...}</tt>, where <tt>xsize, ysize</tt> are respectively the width and height of the picture (in number of pixels), and <tt>command...</tt> is the content of the commands. That is a text composed of several lines, each line being one command. |
- | |
8 | <p> |
- | |
9 | !href cmd=help&special_parm=draw_example Exemple. |
- | |
10 | - | ||
11 | <p><hr> <p> |
- | |
12 | - | ||
13 | !changeto help/ |
1 | !changeto help/en/draw.phtml |