Drawing images

Macros

#define oslDrawImageXY(img, px, py)   ({ (img)->x=(px), (img)->y=(py); oslDrawImage(img); })
 
#define oslDrawImageSimpleXY(img, px, py)   ({ (img)->x=(px), (img)->y=(py); oslDrawImageSimple(img); })
 

Functions

void oslDrawImage (OSL_IMAGE *img)
 
void oslDrawImageSimple (OSL_IMAGE *img)
 
void oslDrawImageBig (OSL_IMAGE *img)
 

Detailed Description

Image support in OSLib.

Macro Definition Documentation

#define oslDrawImageXY (   img,
  px,
  py 
)    ({ (img)->x=(px), (img)->y=(py); oslDrawImage(img); })

Draws an image at positions px, py.

#define oslDrawImageSimpleXY (   img,
  px,
  py 
)    ({ (img)->x=(px), (img)->y=(py); oslDrawImageSimple(img); })

Here for backward compatibility, don't use it.

Function Documentation

void oslDrawImage ( OSL_IMAGE img)

Draws an image.

void oslDrawImageSimple ( OSL_IMAGE img)

Here for backward compatibility, don't use it.

void oslDrawImageBig ( OSL_IMAGE img)

Don't use this routine, it will probably do something else in the next OSLib release.