Add caching for shape of glyphs. More...
#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Emboss.hpp>
Public Member Functions | |
| FontFileWithCache () | |
| FontFileWithCache (std::unique_ptr< FontFile > font_file) | |
| bool | has_value () const |
Public Attributes | |
| std::shared_ptr< const FontFile > | font_file |
| std::shared_ptr< Emboss::Glyphs > | cache |
Add caching for shape of glyphs.
|
inline |
|
inlineexplicit |
|
inline |
References cache, and font_file.
Referenced by Slic3r::GUI::Emboss::StyleManager::clear_glyphs_cache(), anonymous_namespace{Emboss.cpp}::letter2shapes(), and Slic3r::Emboss::text2vshapes().
| std::shared_ptr<Emboss::Glyphs> Slic3r::Emboss::FontFileWithCache::cache |
| std::shared_ptr<const FontFile> Slic3r::Emboss::FontFileWithCache::font_file |