Ignore:
Timestamp:
Apr 21, 2011, 9:03:02 PM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor and simplify trans_image::ClipToLine?().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/timage.h

    r494 r520  
    4848             color_filter *f, palette *pal);
    4949  void put_color(image *screen, int x, int y, int color);
    50   unsigned char *clip_y(image *screen, int x1, int y1, int x2, int y2,
    51                                    int x, int &y, int &ysteps);
    5250
    5351  void put_blend16(image *screen, image *blend, int x, int y,
     
    6260  image *make_image();
    6361  ~trans_image() { free(data); }
     62
     63private:
     64  uint8_t *ClipToLine(image *screen, int x1, int y1, int x2, int y2,
     65                      int x, int &y, int &ysteps);
    6466} ;
    6567
Note: See TracChangeset for help on using the changeset viewer.