Changeset 3416


Ignore:
Timestamp:
Apr 21, 2009, 1:56:50 AM (12 years ago)
Author:
Sam Hocevar
Message:

wave.c: rename pipi_wave() into pipi_sine().

Location:
libpipi/trunk/pipi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/context.c

    r3415 r3416  
    9191        { "overlay", 0 },
    9292        { "line", 1 },
    93         { "wave", 1 },
     93        { "sine", 1 },
    9494
    9595        /* End marker */
     
    823823        ctx->nimages++;
    824824    }
    825     else if(!strcmp(cmd, "wave"))
     825    else if(!strcmp(cmd, "sine"))
    826826    {
    827827        pipi_image_t *tmp;
     
    843843
    844844        tmp = ctx->images[ctx->nimages - 1];
    845         ctx->images[ctx->nimages - 1] = pipi_wave(tmp, dw, dh, d, a);
     845        ctx->images[ctx->nimages - 1] = pipi_sine(tmp, dw, dh, d, a);
    846846        pipi_free(tmp);
    847847    }
  • libpipi/trunk/pipi/filter/wave.c

    r3410 r3416  
    1414
    1515/*
    16  * wave.c: wave and warping effects
     16 * wave.c: wave and other warping effects
    1717 */
    1818
     
    2929#define BORDER 64
    3030
    31 pipi_image_t *pipi_wave(pipi_image_t *src, double dw, double dh,
     31pipi_image_t *pipi_sine(pipi_image_t *src, double dw, double dh,
    3232                        double d, double a)
    3333{
  • libpipi/trunk/pipi/pipi.h

    r3415 r3416  
    200200__extern pipi_image_t *pipi_dilate(pipi_image_t *);
    201201__extern pipi_image_t *pipi_erode(pipi_image_t *);
    202 __extern pipi_image_t *pipi_wave(pipi_image_t *, double, double,
     202__extern pipi_image_t *pipi_sine(pipi_image_t *, double, double,
    203203                                 double, double);
    204204
Note: See TracChangeset for help on using the changeset viewer.