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.315 2012/05/09 13:52:12 jenny Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.316 2012/06/21 18:15:40 mast 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: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'.