wxMaxima
Loading...
Searching...
No Matches
Data Structures
FontVariantCache.h File Reference

This file implements the wxFont cache system. More...

#include "precomp.h"
#include <memory>
#include <wx/font.h>
#include <functional>
#include <list>
#include <utility>
#include <unordered_map>
Include dependency graph for FontVariantCache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  FontVariantCache
 

Detailed Description

This file implements the wxFont cache system.

This system is necessary since creating a wxFont object costs loads of CPU cycles costs.

Each font gets its own FontVariantCache that caches all sizes of each style of that font that we ever generated a wxFont object for.