Flutter Engine
The Flutter Engine
|
An object that can look up glyph locations within the GlyphAtlas for a particular typeface. More...
#include <glyph_atlas.h>
Public Member Functions | |
FontGlyphAtlas ()=default | |
std::optional< Rect > | FindGlyphBounds (const Glyph &glyph) const |
Find the location of a glyph in the atlas. | |
Friends | |
class | GlyphAtlas |
An object that can look up glyph locations within the GlyphAtlas for a particular typeface.
Definition at line 185 of file glyph_atlas.h.
|
default |
Find the location of a glyph in the atlas.
[in] | glyph | The glyph |
std::nullopt
if the glyph is not in the atlas. Definition at line 111 of file glyph_atlas.cc.
|
friend |
Definition at line 200 of file glyph_atlas.h.