GrAPiC
Graphics for Algo/Prog in C/C++

◆ image_draw() [1/2]

void grapic::image_draw ( Image &  im,
int  x,
int  y,
int  w,
int  h,
float  angle,
float  flip = SDL_FLIP_NONE 
)
inline

Draw the image at position (x,y) with width=w and height=h (if w<0 or h<0 the original size of the image is used); angle indicate the angle of rotation and flip: 0=no flip, 1=horizontal flip, 2=vertical flip.