Skip to content

Commit b5471ca

Browse files
authored
Create svgc_header.h
1 parent e081bb2 commit b5471ca

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

app/src/main/cpp/svgc_header.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#ifndef SVGC_HEADER_H
2+
#define SVGC_HEADER_H
3+
4+
#include <stdint.h>
5+
6+
#define SVGC_MAGIC 0x53564743 // "SVGC" in Hex [cite: 2026-02-07]
7+
#define SVGC_VERSION 100
8+
9+
typedef struct {
10+
uint32_t magic;
11+
uint16_t version;
12+
uint32_t path_count;
13+
uint16_t width;
14+
uint16_t height;
15+
} SVGCHeader;
16+
17+
#endif

0 commit comments

Comments
 (0)