initial commit
This commit is contained in:
commit
4b60ece582
327 changed files with 28286 additions and 0 deletions
26
lib/fontParser/tables/table.h
Normal file
26
lib/fontParser/tables/table.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef TABLE_H
|
||||
#define TABLE_H
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class Table
|
||||
{
|
||||
public:
|
||||
Table(const std::string& p_tag, uint32_t p_checkSum, uint32_t p_offset, uint32_t p_length);
|
||||
virtual ~Table();
|
||||
|
||||
const std::string tag;
|
||||
const uint32_t checkSum;
|
||||
const uint32_t offset;
|
||||
const uint32_t length;
|
||||
|
||||
static Table* fromIfStream(std::ifstream& stream);
|
||||
|
||||
virtual void read(const std::string& path);
|
||||
};
|
||||
|
||||
|
||||
#endif // TABLE_H
|
Loading…
Add table
Add a link
Reference in a new issue