![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"#include "Font.h"#include "graphics/TextureManager.h"#include "lib/debug.h"#include "lib/file/vfs/vfs.h"#include "maths/Vector2D.h"#include "ps/CLogger.h"#include "ps/Filesystem.h"#include "ps/Profiler2.h"#include "ps/strings/StringBuilder.h"#include "renderer/Renderer.h"#include "renderer/backend/IDevice.h"#include "renderer/backend/IDeviceCommandContext.h"#include "renderer/backend/ITexture.h"#include "renderer/backend/Sampler.h"#include <FT_ERRORS_H>#include <FT_TYPES_H>#include <algorithm>#include <cmath>#include <cstring>#include <numeric>#include <span>#include <sstream>#include <string>#include <utility>#include <vector>
Classes | |
| struct | anonymous_namespace{Font.cpp}::FTGlyphDeleter |
Namespaces | |
| namespace | anonymous_namespace{Font.cpp} |
Typedefs | |
| using | anonymous_namespace{Font.cpp}::UniqueFTGlyph = std::unique_ptr< std::remove_pointer_t< FT_Glyph >, FTGlyphDeleter > |
Functions | |
| FT_F26Dot6 | anonymous_namespace{Font.cpp}::FloatToF26Dot6 (float value) |
| FreeType represents most of its size and position values in 26.6 fixed-point format — that is, 26 bits for the integer part and 6 bits for the fractional part. More... | |
| float | anonymous_namespace{Font.cpp}::FPosF26Dot6ToFloat (FT_Pos value) |