#include <image_source.h>

Public Member Functions

virtual ImagePtr image (const CanvasPtr &canvas)=0
 

Static Public Member Functions

static std::shared_ptr< ImageSourcefrom_callback (const std::function< ImagePtr(const CanvasPtr &)> &get_image_callback)
 
static std::shared_ptr< ImageSourcefrom_image (const ImagePtr &image)
 
static std::shared_ptr< ImageSourcefrom_resource (const std::string &resource_name)
 

Protected Member Functions

virtual ~ImageSource ()
 

Constructor & Destructor Documentation

virtual uicore::ImageSource::~ImageSource ( )
inlineprotectedvirtual

Member Function Documentation

static std::shared_ptr<ImageSource> uicore::ImageSource::from_callback ( const std::function< ImagePtr(const CanvasPtr &)> &  get_image_callback)
static
static std::shared_ptr<ImageSource> uicore::ImageSource::from_image ( const ImagePtr image)
static
static std::shared_ptr<ImageSource> uicore::ImageSource::from_resource ( const std::string resource_name)
static
virtual ImagePtr uicore::ImageSource::image ( const CanvasPtr canvas)
pure virtual

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