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 - 2001, Roxen IS. + // This is a ChiliMoon module. Copyright © 1996 - 2001, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.293 2002/11/06 02:07:02 mani Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.294 2002/11/11 01:53:34 mani 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=\"/internal-roxen-squares\"> Chisel opaque=\"70\"</gtext> + background=\"/%01/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> - <img src=\"/internal-roxen-roxen\" /> &nbsp; - <gtext scale=\"0.5\" background=\"/internal-roxen-roxen\" - textbelow=\"#c0c0c0\">Roxen</gtext> + <img src=\"/%01/chili-small-white\" /> &nbsp; + <gtext scale=\"0.5\" background=\"/%01/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,    respectively, upper left, lower left, upper right and lower right.
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=\"/internal-roxen-squares\" + <gtext texture=\"/%01/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>    Sets the padding between characters. The value can either be an    relative change, in percent, or an absolute number of pixels, ended    with the string \"px\". Note that    different fonts reacts differently on these values and for some it    will not have any effect at all. This depends on the type of the font    and the font implementation.</p>      <ex> - <gtext font=\"niquel\">HELLO ROXEN</gtext><br /> - <gtext xpad=\"4px\" font=\"niquel\">HELLO ROXEN</gtext><br /> - <gtext xpad=\"50%\" font=\"niquel\">HELLO ROXEN</gtext><br /> + <gtext font=\"niquel\">HELLO CHILIMOON</gtext><br /> + <gtext xpad=\"4px\" font=\"niquel\">HELLO CHILIMOON</gtext><br /> + <gtext xpad=\"50%\" font=\"niquel\">HELLO CHILIMOON</gtext><br />   </ex>   </attr>      <attr name='xsize' value='number'><p>    Sets the width.</p>   </attr>      <attr name='xspacing' value='number'><p>    Sets the horizontal spacing.</p>   </attr>
Roxen.git/server/modules/graphics/graphic_text.pike:455: Inside #if defined(manual)
   will be used as the default foreground rather than the foreground    color.</p>   </attr>      <attr name='magic' value='message'><p>    Used together with the href attribute to generate a JavaScript that    will highlight the image when the mouse is moved over it. The message    is shown in the browser's status bar.</p>       <ex> - <gtext href=\"http://www.roxen.com\" magic=\"Roxen\">www.roxen.com</gtext> + <gtext href=\"http://www.chilimoon.org\" magic=\"ChiliMoon\">www.chilimoon.org</gtext>    </ex>   </attr>      <attr name='magic-attribute' value='value'><p>    Same as for any <tag>gtext</tag> attribute, except for the    highlighted image.</p>      <ex><gtext fgcolor=\"blue\" magic=\"\"   magic-glow=\"red\" magic-fg=\"white\">Mouse me!</gtext></ex>   </attr>