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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1: - string cvs_version="$Id: graphic_text.pike,v 1.33 1997/02/27 04:06:58 per Exp $"; + string cvs_version="$Id: graphic_text.pike,v 1.34 1997/02/27 04:09:04 per Exp $";   #include <module.h>   inherit "module";   inherit "roxenlib";      import Image;      array register_module()   {    return ({ MODULE_LOCATION | MODULE_PARSER,    "Graphics text",
Roxen.git/server/modules/graphics/graphic_text.pike:436:    object ta = text_alpha->copy();    ta = ta->color(256-sd,256-sd,256-sd);    background->paste_mask(image(txsize,tysize),ta,xoffset+sdist, yoffset+sdist);    }      #define MIN(x,y) ((x)<(y)?(x):(y))       if(args->bshadow)    {    int sdist = (int)(args->bshadow)+1; -  object ta = image(text_alpha->xsize()+sdist*2, -  text_alpha->ysize()+sdist*2); +  object ta = image(text_alpha->xsize()+sdist*2+4, +  text_alpha->ysize()+sdist*2+4);    ta->paste(text_alpha,sdist,sdist);    ta = blur(ta, MIN((sdist/2),1))->color(256,256,256);    background->paste_mask(image(txsize,tysize),ta,xoffset, yoffset);    }       if(args->glow)    {    int amnt = (int)(args->glow/",")[-1]+2;    array (int) blurc = parse_color((args->glow/",")[0]);    background->paste_mask(image(txsize+amnt*2,tysize*2, @blurc),