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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a ChiliMoon module. Copyright © 1996 - 2001, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.301 2004/05/27 18:28:42 _cvs_stephen Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.302 2004/05/27 21:24:37 _cvs_stephen Exp $";      #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:128: Inside #if defined(manual)
  <br /><gtext scale=\"0.8\" fgcolor=\"#FF6600\"   bshadow=\"2\">&lt;gtext bshadow=2&gt;</gtext>    </ex>   </attr>      <attr name='chisel'><p>    Make the text look like it has been cut into the background.</p>    <ex>   <gtext font=\"lucida\" bold=\"\" chisel=\"\" talign=\"center\" tile=\"\"   opaque=\"70\" fgcolor=\"gold\" bevel=\"2\" - background=\"/%01/squares\"> Chisel opaque=\"70\"</gtext> + background=\"/*/squares\"> Chisel opaque=\"70\"</gtext>    </ex>   </attr>      <attr name='crop'><p>    Remove all white-space around the image.</p>   </attr>      <attr name='encoding' value='string'><p>    Choose with which charset the text is encoded with.</p>   </attr>
Roxen.git/server/modules/graphics/graphic_text.pike:307: Inside #if defined(manual)
  </attr>      <attr name='talign' value='left|right|center'><p>    Adjust the alignment of the text.</p>   </attr>      <attr name='textbelow' value='color'><p>    Place the text centered in a box of the given color below the image    area. Useful together with background to make captions for images.</p>    <ex> - <imgs src=\"/%01/chili-small-white\" /> &nbsp; - <gtext scale=\"0.5\" background=\"/%01/chili-small-white\" + <imgs src=\"/*/chili-small-white\" /> &nbsp; + <gtext scale=\"0.5\" background=\"/*/chili-small-white\"   textbelow=\"#c0c0c0\">ChiliMoon</gtext>    </ex>   </attr>      <attr name='textbox' value='opaque,color'><p>    Draw a box with an opaque value below the text of the specified color.</p>   </attr>      <attr name='textscale' value='color,color,color,color'><p>    Apply a color filter to the text. The colors are,
Roxen.git/server/modules/graphics/graphic_text.pike:332: Inside #if defined(manual)
   <ex>   <gtext quant=\"128\" textscale=\"blue,white,red,darkgreen\"   >Blue, white,   red, darkgreen</gtext>    </ex>   </attr>      <attr name='texture' value='path'><p>    Uses the specified images as a field texture.</p>   <ex> - <gtext texture=\"/%01/squares\" + <gtext texture=\"/*/squares\"    tile=\"1\" fontsize=\"100\">A</gtext>   </ex>   </attr>      <attr name='tile'>    <p>Tiles the background and foreground images if they are smaller than    the actual image.</p>   </attr>      <attr name='xpad' value='percentage|integer ended with \"px\"'><p>