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