Interface to http://www1.chapman.edu/jipsen/svg/asciisvg.html

Requires ENABLE_XHTML_XML = true

Syntax: http://www1.chapman.edu/jipsen/svg/asciisvgcommands.html

If you are using Internet Explorer 6 + Adobe SVGviewer (often included by default with Windows XP) or SVG enabled Mozilla/Firefox (and have Adobe SVGviewer installed as well!) then you should see the examples.

Usage

  <?plugin AsciiSVG width= height= onmousemove="" script=""
           code...
  ?>

Arguments

width, height, script, onmouseover

All other arguments are passed to the ASCIISvg javascript library and rendered as SVG. See http://www1.chapman.edu/jipsen/svg/asciisvg.html

Example

<?plugin AsciiSVG width="117" height="117"
  border = 0
  initPicture(-10,10)
  axes()
  stroke = "red"
  p = []
  with (Math)
    for (t = 0; t < 10.01; t += 0.05)
      p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
  path(p)
?>

Known Problems

With multiple AsciiSVG plugins on the same page the 2nd and subsequent ones will have the same width and height.

Author

PhpWiki:ReiniUrban

See Also

Help:AsciiMathPlugin


PhpWikiDocumentation Help:WikiPlugin

lib/WikiPlugin.php (In template 'body' < 'html'):234 Notice[1024]: argument 'border' non déclaré par le plugin.

Valid XHTML 1.0! Valid CSS!
L'exécution de la page a pris real: 0,267, user: 0,080, sys: 0,020 seconds

Fatal Error:

lib/WikiDB/backend/PearDB.php:1059 Error[256]: wikidb_backend_peardb_mysql: fatal database error



Erreur Fatale de PhpWiki

lib/WikiDB/backend/PearDB.php:1059 Error[256]: wikidb_backend_peardb_mysql: fatal database error


Fatal error: wikidb_backend_peardb_mysql: fatal database error DB Error: insufficient permissions (UPDATE session SET sess_data='wiki_user|O:9:\"_anonuser\":5:{s:7:\"_userid\";s:0:\"\";s:6:\"_level\";i:0;s:6:\"_prefs\";O:15:\"userpreferences\":1:{s:6:\"_prefs\";a:14:{s:6:\"userid\";O:15:\"_userpreference\":1:{s:13:\"default_value\";s:0:\"\";}s:6:\"passwd\";O:15:\"_userpreference\":1:{s:13:\"default_value\";s:0:\"\";}s:9:\"autologin\";O:20:\"_userpreference_bool\":1:{s:13:\"default_value\";b:0;}s:5:\"email\";O:21:\"_userpreference_email\":1:{s:13:\"default_value\";s:0:\"\";}s:11:\"notifyPages\";O:22:\"_userpreference_notify\":1:{s:13:\"default_value\";s:0:\"\";}s:5:\"theme\";O:21:\"_userpreference_theme\":1:{s:13:\"default_value\";s:7:\"smaller\";}s:4:\"lang\";O:24:\"_userpreference_language\":1:{s:13:\"default_value\";s:2:\"fr\";}s:9:\"editWidth\";O:19:\"_userpreference_int\":3:{s:13:\"default_value\";d:80;s:7:\"_minval\";d:30;s:7:\"_maxval\";d:150;}s:11:\"noLinkIcons\";O:20:\"_userpreference_bool\":1:{s:13:\"default_va in /homez.32/autonomie/www/wiki/lib/WikiDB/backend/PearDB.php on line 1059