Ignore:
Timestamp:
Mar 24, 2006, 8:34:45 PM (15 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added bitmap invert routine. It doesn't work well, so don't use it right now. Sam is working hard to correct the strange behaviour.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/demo.c

    r689 r690  
    494494        *dest++ = (x << 16) | (y << 8) | (z);
    495495    }
    496 
     496    cucul_set_bitmap_invert(bitmap, 1);
    497497    //bitmap = cucul_create_bitmap(16, 256, 256, 2 * 256, 0xf800, 0x07e0, 0x001f, 0x0000);
    498498    bitmap = cucul_create_bitmap(32, 256, 256, 4 * 256, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
     
    541541
    542542    bitmap = cucul_create_bitmap(32, 256, 256, 4 * 256, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
     543 cucul_set_bitmap_invert(bitmap, 1);
    543544    cucul_draw_bitmap(qq, 0, 0, cucul_get_width(qq) - 1, cucul_get_height(qq) - 1, bitmap, (char *)buffer);
    544545    cucul_free_bitmap(bitmap);
Note: See TracChangeset for help on using the changeset viewer.