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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1: - constant cvs_version="$Id: graphic_text.pike,v 1.171 1999/05/18 04:01:54 per Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.172 1999/05/18 06:19:19 per Exp $";   constant thread_safe=1;      #include <config.h>   #include <module.h>   #include <stat.h>   inherit "module";   inherit "roxenlib";      #ifndef VAR_MORE   #define VAR_MORE 0
Roxen.git/server/modules/graphics/graphic_text.pike:502:    max(background->xsize()-1,    foreground->xsize()-1),    background->ysize()-1    +foreground->ysize());    background->paste_mask( foreground, text_alpha,    (background->xsize()-foreground->xsize())/2,    oby );    } else    background->paste_mask(foreground, text_alpha, xoffset, yoffset);    -  if((float)args->scale>0.0) -  if((float)args->scale <= 2.0) -  background = background->scale((float)args->scale); -  -  +     foreground = text_alpha = 0;    -  +  // handled by the image cache nowdays. :-) + // if((float)args->scale>0.0) + // if((float)args->scale <= 2.0) + // background = background->scale((float)args->scale);    -  +     if(args->rotate)    {    string c;    if(sscanf(args->rotate, "%*d,%s", c)==2)    background->setcolor(@parse_color(c));    else    background->setcolor(@bgcolor);    background = background->rotate((float)args->rotate);    }