19 lines
247 B
C++
19 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;
|
|
|
|
};
|
|
|
|
}
|