Rev 1857 | Rev 1936 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1857 | Rev 1935 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | 10 | ||
11 | #include <vector>
|
11 | #include <vector>
|
12 | #include "line.h"
|
12 | #include "line.h"
|
13 | 13 | ||
14 | struct glyph { |
14 | struct glyph { |
15 | - | ||
16 | std::vector<line> lines; |
15 | std::vector<line> lines; |
17 | int width, height; |
16 | int width, height; |
18 | - | ||
19 | glyph (const std::vector<line>& vl); |
17 | glyph (const std::vector<line>& vl); |
20 | glyph (int w = 3, int h = 8) {width = w; height = h;} |
18 | glyph (int w = 3, int h = 8) {width = w; height = h;} |
21 | void find_width_height (); |
19 | void find_width_height (); |
22 | int num_points (); |
- | |
23 | - | ||
24 | }; |
20 | }; |
25 | 21 | ||
26 | #endif
|
22 | #endif
|
27 | 23 | ||
28 | 24 |