Rev 2009 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1528 | jag | 1 | /* |
2 | * glyph.h |
||
2097 | jag | 3 | * DIN Is Noise is copyright (c) 2006-2024 Jagannathan Sampath |
1713 | jag | 4 | * DIN Is Noise is released under GNU Public License 2.0 |
1528 | jag | 5 | * For more information, please visit https://dinisnoise.org/ |
6 | */ |
||
7 | |||
8 | #ifndef __glyph |
||
9 | #define __glyph |
||
10 | |||
11 | #include <vector> |
||
12 | #include "line.h" |
||
13 | |||
14 | struct glyph { |
||
1936 | jag | 15 | |
1528 | jag | 16 | std::vector<line> lines; |
1936 | jag | 17 | int nln; |
1528 | jag | 18 | int width, height; |
1936 | jag | 19 | |
1528 | jag | 20 | glyph (const std::vector<line>& vl); |
21 | glyph (int w = 3, int h = 8) {width = w; height = h;} |
||
1936 | jag | 22 | |
1528 | jag | 23 | void find_width_height (); |
24 | }; |
||
25 | |||
26 | #endif |
||
27 | |||
28 | |||
29 |