Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.856 2004/01/14 13:48:27 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.857 2004/01/21 15:19:36 jonasw Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:2549:    }    default:    if( sscanf( args->crop, "%d,%d-%d,%d", x0, y0, x1, y1 ) == 4)    {    x1 -= x0;    y1 -= y0;    }    break;    case "auto":    [ x0, y0, x1, y1 ] = reply->find_autocrop(); -  x1 -= x0; -  y1 -= y0; +  x1 = x1 - x0 + 1; +  y1 = y1 - y0 + 1;    }    }    sort_guides = 0; // To avoid garbage.      #define SCALEI 1   #define SCALEF 2   #define SCALEA 4   #define CROP 8       function do_scale_and_crop = lambda ( int x0, int y0,