LibreOffice Module sw (master)  1
Classes | Typedefs | Functions | Variables
fntcache.hxx File Reference
#include <sal/config.h>
#include <cstdint>
#include <unordered_map>
#include <vcl/font.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/vcllayout.hxx>
#include <vcl/outdev.hxx>
#include "swcache.hxx"
#include "TextFrameIndex.hxx"
Include dependency graph for fntcache.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  SwFntCache
struct  SwTextGlyphsKey
 Defines a substring on a given output device, to be used as an std::unordered_map<> key. More...
struct  SwTextGlyphsKeyHash
struct  SwTextGlyphsData
 Glyphs and text width for the given SwTextGlyphsKey. More...
class  SwFntObj
class  SwFntAccess


typedef std::unordered_map< SwTextGlyphsKey, SwTextGlyphsData, SwTextGlyphsKeyHashSwTextGlyphsMap


void SwClearFntCacheTextGlyphs ()
 Clears the pre-calculated text glyphs in all SwFntObj instances. More...



Typedef Documentation

Definition at line 90 of file fntcache.hxx.

Function Documentation

void SwClearFntCacheTextGlyphs ( )

Clears the pre-calculated text glyphs in all SwFntObj instances.

Definition at line 2722 of file fntcache.cxx.

References SwFntCache::First(), and SwFntCache::Next().

Referenced by SwDoc::SetTabCols(), and SwLayIdle::SwLayIdle().

Variable Documentation

SwFntCache* pFntCache
SwFntObj* pLastFont