Ignore:
Timestamp:
Aug 28, 2008, 3:54:52 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added a bezier curve primitive (2 control points).
  • Fixed a float overflow in antialiased lines (this algorithm is a mess, and I need to rewrite it)
  • Wrote a bunch of craderies degueulasses to avoid having y1 already defined in math.h
  • Did I say this antialiased line implementation sucks ?
File:
1 edited

Legend:

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

    r2783 r2788  
    3838    while(count--) {
    3939        pipi_draw_line(newimg,
    40                        rand() % w, rand() % h,
     40                       rand()  , rand() % h,
    4141                       rand() % w, rand() % h,
    4242                       rand(),
Note: See TracChangeset for help on using the changeset viewer.