template class axl::gui::OffscreenCanvasCache

#include <axl_gui_Canvas.h>

template <typename T>
class OffscreenCanvasCache
{
public:
    // structs

    struct Entry;

    // construction

    OffscreenCanvasCache(Engine* engine);
    ~OffscreenCanvasCache();

    // methods

    void
    clear();

    T*
    getCanvas(
        uint_t width,
        uint_t height
        );

    T*
    getCanvas(const Size& size);
};