voxelcore/src/graphics/core/FontMetics.hpp
2025-09-30 18:22:39 +03:00

11 lines
206 B
C++

#pragma once
#include <string>
struct FontMetrics {
int lineHeight;
int yoffset;
int glyphInterval = 8;
int calcWidth(std::wstring_view text, size_t offset=0, size_t length=-1) const;
};