19 #ifndef __canvas_stateful_image_h__
20 #define __canvas_stateful_image_h__
26 #include <cairomm/cairomm.h>
35 class FontDescription;
61 void render (
Rect const & area, Cairo::RefPtr<Cairo::Context>)
const;
77 typedef std::map<std::string,Cairo::RefPtr<Cairo::ImageSurface> >
ImageCache;
void set_text(const std::string &)
void render(Rect const &area, Cairo::RefPtr< Cairo::Context >) const
static PBD::Searchpath _image_search_path
StatefulImage(Item *, const XMLNode &)
StatefulImage(Canvas *, const XMLNode &)
bool set_state(States::size_type)
std::vector< State > States
std::map< std::string, Cairo::RefPtr< Cairo::ImageSurface > > ImageCache
Cairo::RefPtr< Cairo::ImageSurface > ImageHandle
static void set_image_search_path(const std::string &)
void compute_bounding_box() const
int load_states(const XMLNode &)
static ImageHandle find_image(const std::string &)
Pango::FontDescription * _font
static ImageCache _image_cache