Function
ShumateVectorSpriteFallbackFunc
Declaration
ShumateVectorSprite*
VectorSpriteFallbackFunc (
ShumateVectorSpriteSheet* sprite_sheet,
const char* name,
double scale,
gpointer user_data
)
Description [src]
A function to generate sprites for a ShumateVectorSpriteSheet.
| Available since: | 1.1 |
Parameters
sprite_sheet |
ShumateVectorSpriteSheet |
| The data is owned by the caller of the function. | |
name |
const char* |
The name of the sprite to generate. |
|
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
scale |
double |
The scale factor of the sprite. |
|
user_data |
gpointer |
User data passed to |
Return value
| Returns: | ShumateVectorSprite |
A |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL. |