![]() |
Cadabra
Computer algebra system for field theory problems
|
An image viewing widget.
#include <ImageView.hh>
Public Member Functions | |
| ImageView (double display_scale, int logical_width) | |
| virtual | ~ImageView () |
| virtual bool | on_motion_notify_event (GdkEventMotion *event) override |
| virtual bool | on_button_press_event (GdkEventButton *event) override |
| virtual bool | on_button_release_event (GdkEventButton *event) override |
| void | on_save_as () const |
| void | set_image_from_base64 (const std::string &b64) |
| void | set_image_from_svg (const std::string &svg) |
Private Attributes | |
| ImageArea | area |
| bool | sizing |
| double | prev_x |
| double | prev_y |
| int | height_at_press |
| int | width_at_press |
| Gtk::Menu | context_menu |
| Gtk::MenuItem | item_save_as |
| ImageView::ImageView | ( | double | display_scale, |
| int | logical_width ) |
|
virtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
| void ImageView::on_save_as | ( | ) | const |
| void ImageView::set_image_from_base64 | ( | const std::string & | b64 | ) |
| void ImageView::set_image_from_svg | ( | const std::string & | svg | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |