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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a roxen module. Copyright © 1996 - 2009, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.314 2011/01/20 23:49:17 jonasw Exp $"; + constant cvs_version="$Id$";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphics: Graphic text";   constant module_doc =
Roxen.git/server/modules/graphics/graphic_text.pike:432: Inside #if defined(manual)
  </attr>      <attr name='seconds' value='number'><p>   Add this number of seconds to the time this entry is valid.</p>   </attr>";         constant tagdoc=([   "anfang":#"<desc type='cont'><p><short>    Creates an anfang in the beginning of a text.</short> This tag takes -  the same attributes as <xref href='gtext.tag' />.</p> +  the same attributes as <xref href='gtext.tag' />. </p>       <ex>    <anfang crop=\"\">This is a beginning<br />    of a very short text,<br />    and here it ends.    </anfang>    </ex>   </desc>   <noex>"+gtextargs+"</noex>",   
Roxen.git/server/modules/graphics/graphic_text.pike:589: Inside #if defined(manual)
  <form onsubmit='return alter_image(this.label);'>   <input type='text' size='40' name='label' />   </form></ex-box></desc>      <attr name='short'><p>    Returns a relative path to the image, i.e. a shorter one.   </p>   </attr>"+gtextargs,      "gtext-js":#"<desc tag='tag'><p><short> -  Inserts javascript funcations that are used by gtext when using +  Inserts javascript functions that are used by gtext when using    the magic attributes.</short>    This is normally inserted at the first instance of a gtext, but it may    be necessary to insert the gtext using this tag if the first gtext in a page    may be hidden, for example if contained in an if tag.    </p>   </desc>",      "gtext-url":#"<desc type='cont'><p><short>    Returns an internal URL to an image with the specified attributes    applied.</short></p>
Roxen.git/server/modules/graphics/graphic_text.pike:743:    font = get_font(args->font,    (int)args->fontsize||32,    bold,    italic,    lower_case(args->talign||"left"),    xpad,    ypad);    }       if (!font) -  error("gtext: No font (tried "+ +  RXML.parse_error("gtext: No font (tried "+    (args->afont||args->font||args->nfont)+ ")!\n");       // Fonts and such are now initialized.    array|mapping make_res = GText.make_text_image(args, font, text, id);    if (mappingp(make_res))    return make_res;    [img, Image.Image alpha] = make_res;       // Now we have the image in 'img'.