Cobbletext  0.2.0
Complex text layout and rendering engine
TileInfo.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <ostream>
4 
5 #include "common.hpp"
6 #include "macros.h"
7 
8 namespace cobbletext {
9 
10 class TileInfo {
11 public:
13  uint32_t atlasX = 0;
14  uint32_t atlasY = 0;
15 
16 private:
17  friend std::ostream & operator<<(std::ostream & stream,
18  const TileInfo & tileInfo);
19 };
20 
21 }
cobbletext::TileInfo::operator<<
friend std::ostream & operator<<(std::ostream &stream, const TileInfo &tileInfo)
common.hpp
macros.h
cobbletext::TileInfo
Definition: TileInfo.hpp:10
cobbletext::GlyphID
uint32_t GlyphID
Definition: common.hpp:8
cobbletext
Definition: AdvanceInfo.hpp:8
cobbletext::TileInfo::atlasY
uint32_t atlasY
Definition: TileInfo.hpp:14
cobbletext::TileInfo::atlasX
uint32_t atlasX
Definition: TileInfo.hpp:13
cobbletext::TileInfo::glyphID
GlyphID glyphID
Definition: TileInfo.hpp:12