#include <canvas.h>
|
| GtkCanvas () |
|
| ~GtkCanvas () |
|
void | use_nsglview (bool retina=true) |
|
void | request_redraw (Rect const &) |
|
void | request_size (Duple) |
|
void | grab (Item *) |
|
void | ungrab () |
|
void | focus (Item *) |
|
void | unfocus (Item *) |
|
bool | have_grab () const |
|
bool | grab_can_translate () const |
|
Rect | visible_area () const |
|
Coord | width () const |
|
Coord | height () const |
|
bool | get_mouse_position (Duple &winpos) const |
|
void | set_single_exposure (bool s) |
|
bool | single_exposure () |
|
void | re_enter () |
|
void | start_tooltip_timeout (Item *) |
|
void | stop_tooltip_timeout () |
|
void | queue_draw () |
|
void | queue_draw_area (int x, int y, int width, int height) |
|
void | queue_resize () |
|
Glib::RefPtr< Pango::Context > | get_pango_context () |
|
void | render (Cairo::RefPtr< Cairo::Context > const &ctx, cairo_rectangle_t *r) |
|
void | prepare_for_render () const |
|
uint32_t | background_color () |
|
| Canvas () |
|
virtual | ~Canvas () |
|
void | render (Rect const &, Cairo::RefPtr< Cairo::Context > const &) const |
|
void | prepare_for_render (Rect const &) const |
|
gint64 | get_last_render_start_timestamp () const |
|
gint64 | get_microseconds_since_render_start () const |
|
Item * | root () |
|
void | freeze_queue_draw () |
|
void | thaw_queue_draw () |
|
void | set_background_color (Gtkmm2ext::Color) |
|
Gtkmm2ext::Color | background_color () const |
|
void | item_visual_property_changed (Item *) |
|
void | item_changed (Item *, Rect) |
|
void | item_moved (Item *, Rect) |
|
Duple | canvas_to_window (Duple const &, bool rounded=true) const |
|
Duple | window_to_canvas (Duple const &) const |
|
void | canvas_to_window (Coord cx, Coord cy, Coord &wx, Coord &wy) |
|
void | window_to_canvas (Coord wx, Coord wy, Coord &cx, Coord &cy) |
|
void | scroll_to (Coord x, Coord y) |
|
void | add_scroller (ScrollGroup &i) |
|
Duple | clamp_to_window (Duple const &winpos, Duple border=Duple()) |
|
void | zoomed () |
|
std::string | indent () const |
|
std::string | render_indent () const |
|
void | dump (std::ostream &) const |
|
void | use_intermediate_surface (bool yn=true) |
|
void | set_debug_render (bool yn) |
|
bool | debug_render () const |
|
virtual | ~CairoCanvas () |
|
A canvas which renders onto a GTK EventBox
Definition at line 217 of file canvas/canvas/canvas.h.
◆ GtkCanvas()
ArdourCanvas::GtkCanvas::GtkCanvas |
( |
| ) |
|
◆ ~GtkCanvas()
ArdourCanvas::GtkCanvas::~GtkCanvas |
( |
| ) |
|
◆ background_color()
uint32_t ArdourCanvas::GtkCanvas::background_color |
( |
| ) |
|
|
inlinevirtual |
◆ button_handler()
bool ArdourCanvas::GtkCanvas::button_handler |
( |
GdkEventButton * |
| ) |
|
|
protected |
◆ deliver_enter_leave()
void ArdourCanvas::GtkCanvas::deliver_enter_leave |
( |
Duple const & |
point, |
|
|
int |
state |
|
) |
| |
|
protected |
◆ deliver_event()
bool ArdourCanvas::GtkCanvas::deliver_event |
( |
GdkEvent * |
| ) |
|
|
protected |
◆ focus()
void ArdourCanvas::GtkCanvas::focus |
( |
Item * |
| ) |
|
|
virtual |
◆ get_items_enclosing()
void ArdourCanvas::GtkCanvas::get_items_enclosing |
( |
Duple const & |
point, |
|
|
std::list< Item const * > & |
enclosing_items |
|
) |
| |
|
protected |
◆ get_mouse_position()
bool ArdourCanvas::GtkCanvas::get_mouse_position |
( |
Duple & |
winpos | ) |
const |
|
virtual |
Store the coordinates of the mouse pointer in window coordinates in winpos
. Return true if the position was within the window, false otherwise.
Implements ArdourCanvas::Canvas.
◆ get_pango_context()
Glib::RefPtr<Pango::Context> ArdourCanvas::GtkCanvas::get_pango_context |
( |
| ) |
|
|
virtual |
◆ grab()
void ArdourCanvas::GtkCanvas::grab |
( |
Item * |
| ) |
|
|
virtual |
◆ grab_can_translate()
bool ArdourCanvas::GtkCanvas::grab_can_translate |
( |
| ) |
const |
|
virtual |
◆ have_grab()
bool ArdourCanvas::GtkCanvas::have_grab |
( |
| ) |
const |
|
inlinevirtual |
◆ height()
Coord ArdourCanvas::GtkCanvas::height |
( |
| ) |
const |
|
virtual |
◆ hide_tooltip()
void ArdourCanvas::GtkCanvas::hide_tooltip |
( |
| ) |
|
|
private |
◆ item_going_away()
void ArdourCanvas::GtkCanvas::item_going_away |
( |
Item * |
, |
|
|
Rect |
|
|
) |
| |
|
privatevirtual |
◆ item_shown_or_hidden()
void ArdourCanvas::GtkCanvas::item_shown_or_hidden |
( |
Item * |
| ) |
|
|
privatevirtual |
◆ motion_notify_handler()
bool ArdourCanvas::GtkCanvas::motion_notify_handler |
( |
GdkEventMotion * |
| ) |
|
|
protected |
◆ on_button_press_event()
bool ArdourCanvas::GtkCanvas::on_button_press_event |
( |
GdkEventButton * |
| ) |
|
|
protected |
◆ on_button_release_event()
bool ArdourCanvas::GtkCanvas::on_button_release_event |
( |
GdkEventButton * |
event | ) |
|
|
protected |
◆ on_enter_notify_event()
bool ArdourCanvas::GtkCanvas::on_enter_notify_event |
( |
GdkEventCrossing * |
| ) |
|
|
protected |
◆ on_expose_event()
bool ArdourCanvas::GtkCanvas::on_expose_event |
( |
GdkEventExpose * |
| ) |
|
|
protected |
◆ on_key_press_event()
bool ArdourCanvas::GtkCanvas::on_key_press_event |
( |
GdkEventKey * |
| ) |
|
|
protected |
◆ on_key_release_event()
bool ArdourCanvas::GtkCanvas::on_key_release_event |
( |
GdkEventKey * |
| ) |
|
|
protected |
◆ on_leave_notify_event()
bool ArdourCanvas::GtkCanvas::on_leave_notify_event |
( |
GdkEventCrossing * |
| ) |
|
|
protected |
◆ on_map()
void ArdourCanvas::GtkCanvas::on_map |
( |
| ) |
|
|
protected |
◆ on_motion_notify_event()
bool ArdourCanvas::GtkCanvas::on_motion_notify_event |
( |
GdkEventMotion * |
| ) |
|
|
protected |
◆ on_realize()
void ArdourCanvas::GtkCanvas::on_realize |
( |
| ) |
|
|
protected |
◆ on_scroll_event()
bool ArdourCanvas::GtkCanvas::on_scroll_event |
( |
GdkEventScroll * |
| ) |
|
|
protected |
◆ on_size_allocate()
void ArdourCanvas::GtkCanvas::on_size_allocate |
( |
Gtk::Allocation & |
| ) |
|
|
protected |
◆ on_style_changed()
void ArdourCanvas::GtkCanvas::on_style_changed |
( |
const Glib::RefPtr< Gtk::Style > & |
| ) |
|
|
protected |
◆ on_touch_begin_event()
bool ArdourCanvas::GtkCanvas::on_touch_begin_event |
( |
GdkEventTouch * |
| ) |
|
|
protected |
◆ on_touch_end_event()
bool ArdourCanvas::GtkCanvas::on_touch_end_event |
( |
GdkEventTouch * |
| ) |
|
|
protected |
◆ on_touch_update_event()
bool ArdourCanvas::GtkCanvas::on_touch_update_event |
( |
GdkEventTouch * |
event | ) |
|
|
protected |
◆ on_unmap()
void ArdourCanvas::GtkCanvas::on_unmap |
( |
| ) |
|
|
protected |
◆ on_visibility_notify_event()
bool ArdourCanvas::GtkCanvas::on_visibility_notify_event |
( |
GdkEventVisibility * |
| ) |
|
|
protected |
◆ pick_current_item() [1/2]
void ArdourCanvas::GtkCanvas::pick_current_item |
( |
Duple const & |
, |
|
|
int |
state |
|
) |
| |
|
protectedvirtual |
◆ pick_current_item() [2/2]
void ArdourCanvas::GtkCanvas::pick_current_item |
( |
int |
state | ) |
|
|
protectedvirtual |
◆ prepare_for_render()
void ArdourCanvas::GtkCanvas::prepare_for_render |
( |
| ) |
const |
◆ queue_draw()
void ArdourCanvas::GtkCanvas::queue_draw |
( |
| ) |
|
◆ queue_draw_area()
void ArdourCanvas::GtkCanvas::queue_draw_area |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
◆ queue_resize()
void ArdourCanvas::GtkCanvas::queue_resize |
( |
| ) |
|
|
virtual |
◆ re_enter()
void ArdourCanvas::GtkCanvas::re_enter |
( |
| ) |
|
|
virtual |
Ask the canvas to pick the current item again, and generate an enter event for it.
Implements ArdourCanvas::Canvas.
◆ really_start_tooltip_timeout()
bool ArdourCanvas::GtkCanvas::really_start_tooltip_timeout |
( |
| ) |
|
|
private |
◆ render()
void ArdourCanvas::GtkCanvas::render |
( |
Cairo::RefPtr< Cairo::Context > const & |
ctx, |
|
|
cairo_rectangle_t * |
r |
|
) |
| |
|
virtual |
◆ request_redraw()
void ArdourCanvas::GtkCanvas::request_redraw |
( |
Rect const & |
| ) |
|
|
virtual |
called to request a redraw of an area of the canvas in WINDOW coordinates
Implements ArdourCanvas::Canvas.
◆ request_size()
void ArdourCanvas::GtkCanvas::request_size |
( |
Duple |
| ) |
|
|
virtual |
called to ask the canvas to request a particular size from its host
Implements ArdourCanvas::Canvas.
◆ resize_handler()
bool ArdourCanvas::GtkCanvas::resize_handler |
( |
| ) |
|
|
private |
◆ send_leave_event()
bool ArdourCanvas::GtkCanvas::send_leave_event |
( |
Item const * |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| const |
|
private |
◆ set_single_exposure()
void ArdourCanvas::GtkCanvas::set_single_exposure |
( |
bool |
s | ) |
|
◆ show_tooltip()
bool ArdourCanvas::GtkCanvas::show_tooltip |
( |
| ) |
|
|
private |
◆ single_exposure()
bool ArdourCanvas::GtkCanvas::single_exposure |
( |
| ) |
|
|
inline |
◆ start_tooltip_timeout()
void ArdourCanvas::GtkCanvas::start_tooltip_timeout |
( |
Item * |
| ) |
|
|
virtual |
◆ stop_tooltip_timeout()
void ArdourCanvas::GtkCanvas::stop_tooltip_timeout |
( |
| ) |
|
|
virtual |
◆ unfocus()
void ArdourCanvas::GtkCanvas::unfocus |
( |
Item * |
| ) |
|
|
virtual |
◆ ungrab()
void ArdourCanvas::GtkCanvas::ungrab |
( |
| ) |
|
|
virtual |
◆ use_nsglview()
void ArdourCanvas::GtkCanvas::use_nsglview |
( |
bool |
retina = true | ) |
|
◆ visible_area()
Rect ArdourCanvas::GtkCanvas::visible_area |
( |
| ) |
const |
|
virtual |
◆ width()
Coord ArdourCanvas::GtkCanvas::width |
( |
| ) |
const |
|
virtual |
◆ _canvas_image
Cairo::RefPtr<Cairo::Surface> ArdourCanvas::GtkCanvas::_canvas_image |
|
private |
◆ _current_item
Item* ArdourCanvas::GtkCanvas::_current_item |
|
private |
◆ _focused_item
Item* ArdourCanvas::GtkCanvas::_focused_item |
|
private |
◆ _grabbed_item
Item* ArdourCanvas::GtkCanvas::_grabbed_item |
|
private |
◆ _in_dtor
bool ArdourCanvas::GtkCanvas::_in_dtor |
|
private |
◆ _new_current_item
Item* ArdourCanvas::GtkCanvas::_new_current_item |
|
private |
◆ _nsglview
void* ArdourCanvas::GtkCanvas::_nsglview |
|
private |
◆ _single_exposure
bool ArdourCanvas::GtkCanvas::_single_exposure |
|
private |
◆ _touched_item
std::map<int, Item*> ArdourCanvas::GtkCanvas::_touched_item |
|
private |
for multitouch: the item(s) that have been touched (effectively a GRAB)
Definition at line 309 of file canvas/canvas/canvas.h.
◆ _use_image_surface
bool ArdourCanvas::GtkCanvas::_use_image_surface |
|
private |
◆ current_tooltip_item
Item* ArdourCanvas::GtkCanvas::current_tooltip_item |
|
private |
◆ resize_queued
bool ArdourCanvas::GtkCanvas::resize_queued |
|
private |
◆ tooltip_label
Gtk::Label* ArdourCanvas::GtkCanvas::tooltip_label |
|
private |
◆ tooltip_timeout_connection
sigc::connection ArdourCanvas::GtkCanvas::tooltip_timeout_connection |
|
private |
◆ tooltip_window
Gtk::Window* ArdourCanvas::GtkCanvas::tooltip_window |
|
private |
The documentation for this class was generated from the following file: