Changeset 2796 for libpipi/trunk


Ignore:
Timestamp:
Aug 28, 2008, 11:44:00 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • line.c: make the line drawing example use aliased lines.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/examples/line.c

    r2788 r2796  
    3636    int h = pipi_get_image_height(newimg);
    3737
    38     while(count--) {
     38    while(count--)
     39    {
    3940        pipi_draw_line(newimg,
    40                        rand()  , rand() % h,
     41                       rand() % w, rand() % h,
     42                       rand() % w, rand() % h,
     43                       rand(),
     44                       0);
     45        pipi_draw_line(newimg,
     46                       rand() % w, rand() % h,
    4147                       rand() % w, rand() % h,
    4248                       rand(),
Note: See TracChangeset for help on using the changeset viewer.