pike.git / src / modules / Image / blit.c

version» Context lines:

pike.git/src/modules/Image/blit.c:1: - /* $Id: blit.c,v 1.43 2000/07/28 07:12:44 hubbe Exp $ */ + /* $Id: blit.c,v 1.44 2000/08/09 11:26:49 grubba Exp $ */   #include "global.h"      /*   **! module Image   **! note - **! $Id: blit.c,v 1.43 2000/07/28 07:12:44 hubbe Exp $ + **! $Id: blit.c,v 1.44 2000/08/09 11:26:49 grubba Exp $   **! class Image   */      #include <math.h>   #include <ctype.h>      #include "stralloc.h"   #include "global.h"   #include "pike_macros.h"   #include "object.h"
pike.git/src/modules/Image/blit.c:118:    {    img->alpha=0;    return 3;    }   }         /*** end internals ***/       - void img_clear(rgb_group *dest,rgb_group rgb,INT32 size) + void img_clear(rgb_group *dest, rgb_group rgb, ptrdiff_t size)   {    if(!size) return;    THREADS_ALLOW();    if( ( rgb.r == rgb.g && rgb.r == rgb.b ) )    MEMSET(dest, rgb.r, size*sizeof(rgb_group) );    else if(size)    {    int increment = 1;    rgb_group *from = dest;    *(dest++)=rgb;