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

version» Context lines:

pike.git/src/modules/Image/layers.c:662:    l->fill_alpha.r==0 &&    l->fill_alpha.g==0 &&    l->fill_alpha.b==0 &&    !l->tiled;   }            /*** layer object : init and exit *************************/    - static void init_layer(struct object *dummy) + static void init_layer(struct object *UNUSED(dummy))   {    THIS->xsize=0;    THIS->ysize=0;    THIS->xoffs=0;    THIS->yoffs=0;    THIS->image=NULL;    THIS->alpha=NULL;    THIS->img=NULL;    THIS->alp=NULL;    THIS->fill=black;
pike.git/src/modules/Image/layers.c:685:    THIS->alpha_value=1.0;    THIS->row_func=lm_normal;    THIS->optimize_alpha=1;    THIS->really_optimize_alpha=1;    THIS->misc=0;       smear_color(THIS->sfill,THIS->fill,SNUMPIXS);    smear_color(THIS->sfill_alpha,THIS->fill_alpha,SNUMPIXS);   }    - static void free_layer(struct layer *l) + static void free_layer(struct layer *UNUSED(l))   {    if (THIS->image) free_object(THIS->image);    if (THIS->alpha) free_object(THIS->alpha);    if (THIS->misc) free_mapping(THIS->misc);    THIS->image=NULL;    THIS->alpha=NULL;    THIS->img=NULL;    THIS->alp=NULL;   }    - static void exit_layer(struct object *dummy) + static void exit_layer(struct object *UNUSED(dummy))   {    free_layer(THIS);   }      /*   **! method object set_image(object(Image.Image) image)   **! method object set_image(object(Image.Image) image,object(Image.Image) alpha_channel)   **! method object|int(0) image()   **! method object|int(0) alpha()   **! Set/change/get image and alpha channel for the layer.