Subversion Repositories wimsdev

Rev

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

  1. !!scripts/oef/draw.phtml modules/adm/doc/primitives/draw.phtml scripts/docu/primitives/draw.phtml
  2. !if $parms=$empty
  3.   !exit
  4. !endif
  5.  
  6. !set parms=!slashsubst $parms
  7. !distribute items $parms into sx,sy
  8. !set pp=!item 3 to -1 of $parms
  9. !set pp=!replace internal $     $ by $\
  10. $ in $pp
  11.  
  12. !set a_=!word 1 of $pp
  13. !if $a_=alt
  14.   !set a_=!line 1 of $pp
  15.   !set a_=!word 2 to -1 of $a_
  16.   !set pp=!line 2 to -1 of $pp
  17.   !set wims_ins_alt=$a_
  18.   !set ins_attr=alt="$a_"
  19.   !set wims_ins_alt=empty
  20. !endif
  21. !set a_=!word 1 of $pp
  22. !if $a_=animate
  23.   !set a_=!line 1 of $pp
  24.   !set a_=!word 2 to -1 of $a_
  25.   !set pp=!line 2 to -1 of $pp
  26.   !set ins_anim_frames=!item 1 of $a_
  27.   !set ins_anim_delay =!item 2 of $a_
  28.   !set ins_anim_loop  =!item 3 of $a_
  29. !endif
  30.  
  31. !set insdraw_size=$sx,$sy
  32. !set ins_align=middle
  33. !insdraw $pp
  34.