|
|
#### jlStaCopy
|
|
|
```c
|
|
|
bool jlStaCopy(jlStaT source, jlStaT target);
|
|
|
```
|
|
|
*(Note: This prototype isn't entirely accurate. No pointer crazyness is needed to pass the images into this function.)* Copies one loaded image to another. Memory allocation is handled for you.
|
|
|
|
|
|
#### jlStaCreate
|
|
|
```c
|
|
|
bool jlStaCreate(jlStaT sta);
|
|
|
```
|
|
|
*(Note: This prototype isn't entirely accurate. No pointer crazyness is needed to pass the image into this function.)* Creates a new static image from the current contents of the back buffer. Memory allocation is handled for you. Useful for special effects or taking screen shots.
|
|
|
|
|
|
#### jlStaDisplay
|
|
|
```c
|
|
|
void jlStaDisplay(jlStaT *sta);
|
|
|
```
|
|
|
Copies the passed in image to the back buffer.
|
|
|
|
|
|
#### jlStaFree
|
|
|
```c
|
|
|
void jlStaFree(jlStaT *sta);
|
|
|
```
|
|
|
Releases the memory used by a loaded image.
|
|
|
|
|
|
#### jlStaLoad
|
|
|
```c
|
|
|
bool jlStaLoad(jlStaT sta, char *filename);
|
|
|
```
|
|
|
*(Note: This prototype isn't entirely accurate. No pointer crazyness is needed to pass the image into this function.)* Loads a new image from `filename` on disk. Returns `true` on success, otherwise `false`.
|
|
|
|
|
|
#### jlStaSave
|
|
|
```c
|
|
|
bool jlStaSave(jlStaT *sta, char *filename);
|
|
|
```
|
|
|
Saves the specified static image to disk as `filename`. Returns `true` on success, otherwise `false`. |
|
|
\ No newline at end of file |