Files
Copium/CopiumEngine/ext/include/msdf-atlas-gen/GlyphBox.h
T
Thraix 4e466a1fce Add Text rendering
- Add FreeType as dependency
- Add MsdfGen as dependency
- Add MsdfAtlasGen as dependency
2023-05-08 22:12:19 +02:00

20 lines
247 B
C++

#pragma once
#include "Rectangle.h"
namespace msdf_atlas {
/// The glyph box - its bounds in plane and atlas
struct GlyphBox {
int index;
double advance;
struct {
double l, b, r, t;
} bounds;
Rectangle rect;
};
}