Skip to content

Commit 4341248

Browse files
committed
Add Slice documentation
1 parent d59efb1 commit 4341248

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

include/raylib-aseprite.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,15 @@ struct AsepriteTag {
160160
ase_tag_t* tag; // The active tag to act upon
161161
};
162162

163+
/**
164+
* Slice data for the Aseprite.
165+
*
166+
* @see LoadAsepriteSlice()
167+
* @see https://www.aseprite.org/docs/slices/
168+
*/
163169
struct AsepriteSlice {
164-
char* name;
165-
Rectangle bounds;
170+
char* name; // The name of the slice.
171+
Rectangle bounds; // The rectangle outer bounds for the slice.
166172
};
167173

168174
/**

0 commit comments

Comments
 (0)