Esempio n. 1
0
        public byte[] for_future; //size 16

        public void GenerateChunk(ref byte[] chunkData)
        {
            flags = Read.DWORD(ref chunkData);
            precise_x_position      = Read.FIXED(ref chunkData);
            precise_y_position      = Read.FIXED(ref chunkData);
            width_of_cel_in_sprite  = Read.FIXED(ref chunkData);
            height_of_cel_in_sprite = Read.FIXED(ref chunkData);
            for_future = Read.BYTEARRAY(ref chunkData, 16);
        }
Esempio n. 2
0
 public void GenerateChunk(ref byte[] chunkData)
 {
     type        = Read.WORD(ref chunkData);
     flags       = Read.WORD(ref chunkData);
     fixed_gamma = Read.FIXED(ref chunkData);
     reserved    = Read.BYTEARRAY(ref chunkData, 8);
     if (type == 2)
     {
         icc_profile_length = Read.DWORD(ref chunkData);
         icc_profile_data   = Read.BYTEARRAY(ref chunkData, (int)icc_profile_length - (ASE.Read.DWORD_LENGTH));
     }
 }