sfillib
Simple and Fast Image Loading library for the Nintendo 3DS
sfil.h
Go to the documentation of this file.
1 
8 #ifndef SFIL_H
9 #define SFIL_H
10 
11 #include <3ds.h>
12 #include <sf2d.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
24 sf2d_texture *sfil_load_PNG_file(const char *filename, sf2d_place place);
25 
32 sf2d_texture *sfil_load_PNG_buffer(const void *buffer, sf2d_place place);
33 
40 sf2d_texture *sfil_load_JPEG_file(const char *filename, sf2d_place place);
41 
49 sf2d_texture *sfil_load_JPEG_buffer(const void *buffer, unsigned long buffer_size, sf2d_place place);
50 
57 sf2d_texture *sfil_load_BMP_file(const char *filename, sf2d_place place);
58 
65 sf2d_texture *sfil_load_BMP_buffer(const void *buffer, sf2d_place place);
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif
sf2d_texture * sfil_load_JPEG_buffer(const void *buffer, unsigned long buffer_size, sf2d_place place)
Loads a JPG/JPEG image from a memory buffer.
sf2d_texture * sfil_load_PNG_buffer(const void *buffer, sf2d_place place)
Loads a PNG image from a memory buffer.
sf2d_texture * sfil_load_JPEG_file(const char *filename, sf2d_place place)
Loads a JPG/JPEG image from the SD card.
sf2d_texture * sfil_load_PNG_file(const char *filename, sf2d_place place)
Loads a PNG image from the SD card.
sf2d_texture * sfil_load_BMP_file(const char *filename, sf2d_place place)
Loads a BMP image from the SD card.
sf2d_texture * sfil_load_BMP_buffer(const void *buffer, sf2d_place place)
Loads a BMP image from a memory buffer.