Roxen.git/
server/
modules/
graphics/
graphic_text.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1997-05-30
1997-05-30 09:18:14 by Per Hedbor <ph@opera.com>
a55a1225848499f736f7bc201466408326a33dda (
27
lines) (+
18
/-
9
)
[
Show
|
Annotate
]
Branch:
5.2
Documentation fixes
Rev: server/modules/graphics/graphic_text.pike:1.44
1:
-
string cvs_version="$Id: graphic_text.pike,v 1.
43
1997/05/
08
21
:
34
:
35
per Exp $";
+
string cvs_version="$Id: graphic_text.pike,v 1.
44
1997/05/
30
09
:
18
:
14
per Exp $";
#include <module.h> inherit "module";
15:
{ return ({ MODULE_LOCATION | MODULE_PARSER, "Graphics text",
-
"
Makes
a few new
tags
, which render text to gifs "
-
"using the image module in pike.
\n<p>"
+
"
Defines
a few new
containers
, which
all
render text to gifs "
+
"using the image module in pike.\n<p>"
"<b><gh1></b> to <b><gh6>:</b> Headers<br>\n" "<b><gh>:</b> Header<br>\n" "<b><gtext>:</b> Graphical text<br>\n"
-
"<b><anfang>:</b> Make the first character
to
a "
+
"<b><anfang>:</b> Make the first character a "
"graphical one. Not all that usefull, really.<br>\n" "<br>\n" "<b>Common arguments:</b>\n <pre>"
28:
" <body> tag, if any\n" " fg=color Use this foreground, default taken from the\n" " <body> tag, if any\n"
-
"
font
=fnt
Use this font. The fonts can be found in the\n"
+
"
nfont
=fnt Use this font. The fonts can be found in the\n"
" directory specified in the configuration\n" " interface.\n" " If no font is specified, the one from the\n"
-
" define '
font
' is used, or if there is no\n"
+
" define '
nfont
' is used, or if there is no\n"
" define, the default font will be used.\n"
-
+
" bold Try to find a bold version of the font.\n"
+
" italic Try to find an italic version of the font.\n"
+
" black Try to find a black (heavy) version of the font.\n"
+
" light Try to find a light version of the font.\n"
" scale=float Scale to this font, mostly useful in the <gtext>\n" " tag, will not work at all in the <gh[number]>\n" " tags.\n"
66:
" shadow=int,dist Draw a drop-shadow (variable distance/intensity)\n" " bshadow=dist Draw a blured drop-shadow (variable distance)\n" " ghost=dist,blur,col\n"
-
" Do a 'ghost text'. Do NOT use together
with
"
-
"
'shadow'. Magic coloring won't work with it."
+
" Do a 'ghost text'. Do NOT use together
with\n
"
+
" 'shadow'. Magic coloring won't work with it.
\n
"
" glow=color Draw a 'glow' outline around the text.\n" " opaque=0-100% Draw with more or less opaque text (100%\n" " is default)\n"
782:
{ // Allow <accessed> and others inside <gtext>.
+
+
if(arg->help)
+
return register_module()[2];
+
#if efun(_static_modules) contents = parse_rxml(contents, id, foo, defines); #else