| 19 | WordCachingTextShaper::~WordCachingTextShaper() = default; |
| 20 | |
| 21 | void WordCachingTextShaper::clearCache() { |
| 22 | std::lock_guard<Valdi::Mutex> lock(_mutex); |
| 23 | _cache.clear(); |
| 24 | } |
| 25 | |
| 26 | TextParagraphList WordCachingTextShaper::resolveParagraphs(const Character* unicodeText, |
| 27 | size_t length, |