![]() |
Cadabra
Computer algebra system for field theory problems
|
#include <TeXView.hh>
Public Member Functions | |
virtual bool | on_draw (const Cairo::RefPtr< Cairo::Context > &cr) override |
void | update_image (std::shared_ptr< TeXEngine::TeXRequest >, double scale) |
Update the visible image from the pixbuf. | |
Public Attributes | |
Glib::RefPtr< Gdk::Pixbuf > | pixbuf |
The actual image is stored in the image referenced by pixbuf. | |
double | scale_ |
void TeXView::TeXArea::update_image | ( | std::shared_ptr< TeXEngine::TeXRequest > | content, |
double | scale ) |
Update the visible image from the pixbuf.
Call this in order to propagate changes to the pixbuf (e.g. from re-running the TeXRequest) to the visible widget itself.
Glib::RefPtr<Gdk::Pixbuf> cadabra::TeXView::TeXArea::pixbuf |
The actual image is stored in the image referenced by pixbuf.
FIXME: This pointer is not yet shared among instances which show the same content.
double cadabra::TeXView::TeXArea::scale_ |