Ignore:
Timestamp:
Mar 11, 2008, 3:56:27 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • getpixel/setpixel functions use doubles instead of ints for now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/pipi.h

    r2244 r2260  
    3535extern int pipi_getgray(pipi_image_t const *img, int x, int y, int *g);
    3636extern int pipi_getpixel(pipi_image_t const *img,
    37                          int x, int y, int *r, int *g, int *b);
    38 extern int pipi_setpixel(pipi_image_t *img, int x, int y, int r, int g, int b);
     37                         int x, int y, double *r, double *g, double *b);
     38extern int pipi_setpixel(pipi_image_t *img, int x, int y,
     39                         double r, double g, double b);
    3940
    4041extern pipi_image_t *pipi_resize(pipi_image_t const *, int, int);
Note: See TracChangeset for help on using the changeset viewer.