PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
FontCache::CachedTTFFont Struct Reference

#include <FontCache.h>

Public Member Functions

 CachedTTFFont (TTF_Font *f)
 

Public Attributes

TTF_Font * ttf_font
 
int ref_count
 

Detailed Description

Cached TTF_Font with reference counting When ref_count reaches 0, TTF_Font is closed and removed from cache

Definition at line 28 of file FontCache.h.

Constructor & Destructor Documentation

◆ CachedTTFFont()

FontCache::CachedTTFFont::CachedTTFFont ( TTF_Font *  f)
inline

Definition at line 32 of file FontCache.h.

Member Data Documentation

◆ ref_count

int FontCache::CachedTTFFont::ref_count

Definition at line 30 of file FontCache.h.

◆ ttf_font

TTF_Font* FontCache::CachedTTFFont::ttf_font

Definition at line 29 of file FontCache.h.


The documentation for this struct was generated from the following file: