StreamFont.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Font.hpp"
5 #include <string>
6 #include <vector>
7 
8 namespace iv
9 {
10 
12 {
13 public:
17 };
18 
19 class StreamFont : private StreamResource, public Font
20 {
21 public:
24 
25  StreamFont( Instance * inst, StreamResourceProvider const * provider, StreamFont_Subprovider const *, ResourcePath const & path );
26 
27 private:
28  void Load( std::istream & in );
29  Font::Variant ReadVariant( Lex & lex );
30  void ReadAdvance( Lex & lex );
31 
32 private:
33  ResourceAccess access;
34 };
35 
36 
37 }