cf_draw_sprite_9_slice_tiled¶
Category: draw
GitHub: cute_draw.h
Draws a sprite using 9-slice; the top, left, right and bottom sides are tiled.
| Parameters | Description |
|---|---|
sprite |
The sprite. Works with aseprite sprites (center from .ase slices), easy sprites, and premade sprites. |
Remarks¶
If no center patch is defined this falls back to cf_draw_sprite. For easy sprites set the center patch with cf_sprite_set_center_patch.
Related Pages¶
cf_draw_sprite
cf_draw_sprite_9_slice
cf_app_draw_onto_screen
cf_sprite_set_center_patch
cf_draw_quad
cf_draw_to