simage
1.8.3
Coin3D texture image library
|
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <config.h>
#include <simage.h>
#include <simage_private.h>
#include <string.h>
Functions | |
int | s_image_components (s_image *image) |
s_image * | s_image_create (int w, int h, int components, unsigned char *prealloc) |
unsigned char * | s_image_data (s_image *image) |
void | s_image_destroy (s_image *image) |
int | s_image_get_component_order (s_image *image) |
int | s_image_height (s_image *image) |
s_image * | s_image_load (const char *filename, s_image *prealloc) |
int | s_image_save (const char *filename, s_image *image, s_params *params) |
void | s_image_set (s_image *image, int w, int h, int components, unsigned char *data, int copydata) |
int | s_image_set_component_order (s_image *image, int order) |
int | s_image_width (s_image *image) |
int s_image_components | ( | s_image * | image | ) |
s_image * s_image_create | ( | int | w, |
int | h, | ||
int | components, | ||
unsigned char * | prealloc ) |
unsigned char * s_image_data | ( | s_image * | image | ) |
void s_image_destroy | ( | s_image * | image | ) |
int s_image_get_component_order | ( | s_image * | image | ) |
int s_image_height | ( | s_image * | image | ) |
void s_image_set | ( | s_image * | image, |
int | w, | ||
int | h, | ||
int | components, | ||
unsigned char * | data, | ||
int | copydata ) |
int s_image_set_component_order | ( | s_image * | image, |
int | order ) |
int s_image_width | ( | s_image * | image | ) |