Rev 5903 | Rev 15107 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5903 | Rev 10826 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | <h3 class="wimscenter">Dynamic drawing</h3> |
- | |
2 | - | ||
3 | <p> |
- | |
4 | It is possible to include 2D drawings into the statement of your exercises |
- | |
5 | (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. |
- | |
6 | - | ||
7 | </p><p> |
- | |
8 | Syntax: |
- | |
9 | </p><pre> |
- | |
10 | \draw{xsize,ysize}{command...} |
- | |
11 | </pre> |
- | |
12 | where <span class="tt">xsize, ysize</span> are respectively the width and height of the picture |
- | |
13 | (in number of pixels), and <span class="tt">command...</span> is the content of the commands. |
- | |
14 | That is a text composed of several lines, each line being one command. |
- | |
15 | <p> |
- | |
16 | - | ||
17 | !href cmd=help&special_parm=draw_example Example. |
- | |
18 | </p> |
- | |
19 | !changeto help/ |
1 | !changeto help/en/draw.phtml |