Ignore:
Timestamp:
May 14, 2011, 3:06:23 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make some Image methods use vec2i.

File:
1 edited

Legend:

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

    r644 r650  
    106106        return m_data + y * m_size.x;
    107107    }
    108     inline uint8_t *next_line(int16_t lasty, uint8_t *last_scan)
    109     {
    110         return last_scan + m_size.x;
    111     }
    112108    image *copy(); // makes a copy of an image
    113109    void clear(int16_t color = -1); // -1 is background color
     
    119115    void fill_image(image *screen, int16_t x1, int16_t y1,
    120116                    int16_t x2, int16_t y2, int16_t align = 1);
    121     void PutImage(image *screen, int16_t x, int16_t y, char transparent = 0);
     117    void PutImage(image *screen, vec2i pos, int transparent = 0);
    122118    void PutPart(image *screen, int16_t x, int16_t y, int16_t x1, int16_t y1,
    123119                 int16_t x2, int16_t y2, char transparent = 0);
Note: See TracChangeset for help on using the changeset viewer.