#include <TeXView.hh>
◆ TeXArea()
TeXView::TeXArea::TeXArea |
( |
bool |
use_microtex, |
|
|
TeXView * |
owner_ |
|
) |
| |
◆ ~TeXArea()
TeXView::TeXArea::~TeXArea |
( |
| ) |
|
◆ get_preferred_height_for_width_vfunc()
void TeXView::TeXArea::get_preferred_height_for_width_vfunc |
( |
int |
width, |
|
|
int & |
minimum_height, |
|
|
int & |
natural_height |
|
) |
| const |
|
overrideprotected |
◆ get_preferred_width_for_height_vfunc()
void TeXView::TeXArea::get_preferred_width_for_height_vfunc |
( |
int |
height, |
|
|
int & |
minimum_width, |
|
|
int & |
natural_width |
|
) |
| const |
|
overrideprotected |
◆ get_request_mode_vfunc()
Gtk::SizeRequestMode TeXView::TeXArea::get_request_mode_vfunc |
( |
| ) |
const |
|
overrideprotected |
◆ layout_latex()
void TeXView::TeXArea::layout_latex |
( |
| ) |
const |
MicroTeX: just run the LaTeX layout algorithms, do not draw.
◆ on_draw()
bool TeXView::TeXArea::on_draw |
( |
const Cairo::RefPtr< Cairo::Context > & |
cr | ) |
|
|
overridevirtual |
◆ on_size_allocate()
void TeXView::TeXArea::on_size_allocate |
( |
Gtk::Allocation & |
allocation | ) |
|
|
overrideprotected |
◆ set_latex()
void TeXView::TeXArea::set_latex |
( |
const std::string & |
latex | ) |
|
MicroTeX: set the LaTeX string and replace/substitute so that MicroTeX can render it (but do not actually render).
◆ update_image()
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.
◆ _render
microtex::Render* cadabra::TeXView::TeXArea::_render |
|
mutableprivate |
◆ _text_size
float cadabra::TeXView::TeXArea::_text_size |
◆ fixed
std::string cadabra::TeXView::TeXArea::fixed |
|
private |
◆ owner
TeXView* cadabra::TeXView::TeXArea::owner |
|
private |
◆ padding_x
int cadabra::TeXView::TeXArea::padding_x |
|
private |
◆ padding_y
int cadabra::TeXView::TeXArea::padding_y |
|
private |
◆ pixbuf
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.
◆ rendering_width
int cadabra::TeXView::TeXArea::rendering_width |
|
mutableprivate |
◆ scale_
double cadabra::TeXView::TeXArea::scale_ |
◆ unfixed
std::string cadabra::TeXView::TeXArea::unfixed |
|
private |
◆ use_microtex
bool cadabra::TeXView::TeXArea::use_microtex |
The documentation for this class was generated from the following files: