mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-03 05:29:13 +00:00
Update vector spec to support mixed types of elements
This commit is contained in:
parent
fae3c6566c
commit
8b547adfb7
@ -421,9 +421,16 @@ The data of this chunk is as follows:
|
|||||||
RECT
|
RECT
|
||||||
+ If type==0x0011 (vector)
|
+ If type==0x0011 (vector)
|
||||||
DWORD Number of elements
|
DWORD Number of elements
|
||||||
|
WORD Element's type.
|
||||||
|
+ If Element's type == 0 (all elements are not of the same type)
|
||||||
|
For each element:
|
||||||
WORD Element's type
|
WORD Element's type
|
||||||
BYTE[] As many values as the number of elements indicates
|
BYTE[] Element's value. Structure depends on the
|
||||||
Structure depends on the element's type
|
element's type
|
||||||
|
+ Else (all elements are of the same type)
|
||||||
|
For each element:
|
||||||
|
BYTE[] Element's value. Structure depends on the
|
||||||
|
element's type
|
||||||
+ If type==0x0012 (nested properties map)
|
+ If type==0x0012 (nested properties map)
|
||||||
DWORD Number of properties
|
DWORD Number of properties
|
||||||
BYTE[] Nested properties data
|
BYTE[] Nested properties data
|
||||||
|
Loading…
Reference in New Issue
Block a user