载入中...
搜索中...
未找到
FontData.h
浏览该文件的文档.
Resource is a game object that is managed by the ResourceManager. It can be loaded from a file or gen...
Definition Resource.h:35
CPU-side decoded font face (FreeType FT_Face + owned font bytes). Does not upload to GPU — rasterize ...
Definition FontData.h:23
int getGlyphHeight(int codepoint) const
Definition FontData.cpp:230
int getGlyphAdvance(int codepoint) const
Definition FontData.cpp:233
int getGlyphBearingX(int codepoint) const
Definition FontData.cpp:231
image::ImageData * newGlyphImageData(int codepoint)
Rasterize one glyph to RGBA8 ImageData (RGB white, A from FreeType gray). Returns a 0x0 ImageData if ...
Definition FontData.cpp:235
int getGlyphBearingY(int codepoint) const
Definition FontData.cpp:232
void adopt(eve::Resource &replacement) override
Replace this face with replacement's (cache reload).
Definition FontData.cpp:96
float getKerning(int leftCodepoint, int rightCodepoint) const
Definition FontData.cpp:167
Definition Build.cpp:11