projects
/
vg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bad char
[vg.git]
/
vg_font.h
1
typedef
struct
vg_font_char vg_font_char
;
2
typedef
struct
vg_font_face vg_font_face
;
3
typedef
struct
vg_font_sheet vg_font_sheet
;
4
5
struct
vg_font_char
6
{
7
i16 x
,
y
;
8
};
9
10
struct
vg_font_face
11
{
12
const char
*
name
;
13
i16 cw
,
ch
,
sx
,
sy
,
baseline
;
14
vg_font_char map
[
256
];
15
};
16
17
struct
vg_font_sheet
18
{
19
i16 w
,
h
;
20
u32 bitmap
[];
21
};
22