Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1: - constant cvs_version="$Id: graphic_text.pike,v 1.194 1999/12/07 13:58:08 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.195 1999/12/09 09:58:24 nilsson Exp $";   constant thread_safe=1;      #include <config.h>   #include <module.h>   #include <stat.h>   inherit "module";   inherit "roxenlib";         // ------------------- Module registration ---------------------
Roxen.git/server/modules/graphics/graphic_text.pike:47:    "&lt;gh1&gt;&lt;/gh&gt;, which would otherwise parse the"    " whole document. This can be overrided with maxlen=... in the "    "tag.");       defvar("ext", 0, "Append .fmt (gif, jpeg etc) to all images",    TYPE_FLAG|VAR_MORE,    "Append .gif, .png, .gif etc to all images made by gtext. "    "Normally this will only waste bandwidth");   }    + TAGDOCUMENTATION + #ifdef manual + constant gtextargs=""; + constant tagdoc=(["gtext":"<desc cont></desc>"+gtextargs, +  "gtext-id":"<desc tag></desc>"+gtextargs, +  "anfang":"<desc cont></desc>"+gtextargs, +  "gtext-url":"<desc cont></desc>"+gtextargs, +  "gh":"<desc cont></desc>"+gtextargs, +  "gh1":"<desc cont></desc>"+gtextargs, +  "gh2":"<desc cont></desc>"+gtextargs, +  "gh3":"<desc cont></desc>"+gtextargs, +  "gh4":"<desc cont></desc>"+gtextargs, +  "gh5":"<desc cont></desc>"+gtextargs, +  "gh6":"<desc cont></desc>"+gtextargs]); + #endif    -  +    // ------------------- The actual graphics routines ----------------------      #define MAX(a,b) ((a)<(b)?(b):(a))   #define MIN(a,b) ((a)<(b)?(a):(b))      static private mapping (int:array(array(int))) matrixes = ([]);   array (array(int)) make_matrix(int size)   {    if(matrixes[size]) return matrixes[size];    array res;