OpenCPN Partial API docs
Loading...
Searching...
No Matches
SVGBitmapCache Class Reference

Public Member Functions

void Clear (bool disk=true)
 
std::string MakeKey (wxString file_path, const int width, const int height)
 
bool HasKey (const wxString key)
 
wxBitmap Get (const wxString key)
 
void Add (const wxString, const wxBitmap bmp)
 
 SVGBitmapCache (SVGBitmapCache const &)=delete
 
void operator= (SVGBitmapCache const &)=delete
 

Static Public Member Functions

static SVGBitmapCacheGetInstance ()
 

Detailed Description

Definition at line 75 of file svg_utils.h.

Member Function Documentation

◆ Add()

void SVGBitmapCache::Add ( const wxString  key,
const wxBitmap  bmp 
)

Definition at line 192 of file svg_utils.cpp.

◆ Clear()

void SVGBitmapCache::Clear ( bool  disk = true)
inline

Definition at line 88 of file svg_utils.h.

◆ Get()

wxBitmap SVGBitmapCache::Get ( const wxString  key)

Definition at line 205 of file svg_utils.cpp.

◆ GetInstance()

static SVGBitmapCache & SVGBitmapCache::GetInstance ( )
inlinestatic

Definition at line 83 of file svg_utils.h.

◆ HasKey()

bool SVGBitmapCache::HasKey ( const wxString  key)

Definition at line 229 of file svg_utils.cpp.

◆ MakeKey()

std::string SVGBitmapCache::MakeKey ( wxString  file_path,
const int  width,
const int  height 
)

Definition at line 175 of file svg_utils.cpp.


The documentation for this class was generated from the following files: