Ignore:
Timestamp:
Aug 26, 2008, 1:39:15 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • pipi.h: add the PIPI_PIXELS_MASK_C pixel format for canvas boundaries.
  • pipi.h: rename RGBA32 and BGR24 into RGBA_C and BGR_C.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/test/u8tof32tou8.c

    r2621 r2772  
    3636    img2 = pipi_load("mona.png");
    3737
    38     pix1 = pipi_getpixels(img1, PIPI_PIXELS_RGBA32);
     38    pix1 = pipi_getpixels(img1, PIPI_PIXELS_RGBA_C);
    3939    data1 = (uint32_t *)pix1->pixels;
    4040
    4141    pipi_getpixels(img2, PIPI_PIXELS_RGBA_F);
    42     pix2 = pipi_getpixels(img2, PIPI_PIXELS_RGBA32);
     42    pix2 = pipi_getpixels(img2, PIPI_PIXELS_RGBA_C);
    4343    data2 = (uint32_t *)pix2->pixels;
    4444
Note: See TracChangeset for help on using the changeset viewer.