#include <pnm.h>
Static Public Member Functions | |
static void * | get (SDL_RWops *file, u_int16 *length, u_int16 *height) |
Reads a PNM image from an opened file. | |
static void | put (SDL_RWops *file, void *image, u_int16 length, u_int16 height) |
Saves a PNM image into an opened file. |
Definition at line 31 of file pnm.h.
void * pnm::get | ( | SDL_RWops * | file, | |
u_int16 * | length, | |||
u_int16 * | height | |||
) | [static] |
Reads a PNM image from an opened file.
file | opened file from which to read. | |
length | pointer to the integer which will contain the image's length. | |
height | pointer to the integer which will contain the image's height. |
void pnm::put | ( | SDL_RWops * | file, | |
void * | image, | |||
u_int16 | length, | |||
u_int16 | height | |||
) | [static] |