wxMaxima
|
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>
Go to the source code of this file.
Data Structures | |
class | FontVariantCache |
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.