Subversion Repositories wimsdev

Rev

Rev 4091 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. :signification
  2.  Put dragfill or clickfill fields into a big image. To be used in the
  3.  statement of an OEF exercise.
  4.  
  5. :example
  6. <span class="wims_help_example">Example</span>
  7.  <pre>
  8. \special{imagefill \imagedir/myphoto.jpg,450x350,40x40
  9. reply 1,120x250
  10. reply 3,300x50
  11. reply 4,10x15
  12. }
  13. </pre>
  14.  This example puts a big image (<span class="tt wims_fname">\imagedir/myphoto.jpg</span>) in the
  15.  statement, of size
  16.  450x350, with 3 embedded drag-and-drop fields of size 40x40. The 3 fields
  17.  are respectively answers 1,3 and 4 (which must be of clickfill or dragfill
  18.  type), and at respective positions 120x250, 300x50, 10x15 within the big
  19.  image.
  20.  <p> The big image will be stretched to fit exactly the specified size.
  21.  <p> It is possible to have multiple answers. Add a third integer parameter to the size
  22.  <span class="tt wims_code_words">reply 1,120x250x4</span> will show a field of length 4.