awtk/docs/dots/font_overview

31 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-12-28 17:43:54 +08:00
digraph G {
rankdir = BT
fontname = "Courier New"
fontsize = 12
node [
fontname = "Courier New"
fontsize = 12
shape = "record"
width = 0.4
]
2018-12-29 12:17:06 +08:00
subgraph clusterFontManager{
glyph_t[ label = "{glyph_t|+x\l+y\l+w\l+h\l+data\l}" ];
font_t[ label = "{font_t|+match(...)\l+find_glyph(...) : glyph_t\l}" ];
font_loader_t [ label = "{font_loader_t|+load(...) : font_t\l}" ];
font_manager_t [ label = "{font_manager_t|+get_font(...) : font_t\l}" ];
2018-12-28 17:43:54 +08:00
2018-12-29 12:17:06 +08:00
glyph_t -> font_t [constraint=false arrowhead = ediamond ]
font_t -> font_manager_t[arrowhead="none"];
font_loader_t -> font_manager_t[arrowhead="none"];
font_loader_t -> font_t [constraint=false arrowhead="vee" label="load"];
}
2018-12-28 17:43:54 +08:00
2018-12-29 12:17:06 +08:00
canvas_t -> font_manager_t[arrowhead="vee" label="get_font"];
2018-12-28 17:43:54 +08:00
font_loader_ft_t -> font_loader_t[arrowhead=empty style=dashed]
font_loader_stb_t -> font_loader_t[arrowhead=empty style=dashed]
font_loader_bitmap_t -> font_loader_t[arrowhead=empty style=dashed]
}