Graphviz 13.0.0~dev.20241220.2304
|
#include "glmotion.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtkgl.h>
#include <gdk/gdkcursor.h>
#include "draw.h"
#include <glcomp/glutils.h>
#include "hotkeymap.h"
#include <stdint.h>
Go to the source code of this file.
Functions | |
static void | graph_zoom (float real_zoom) |
void | glmotion_zoom_inc (int zoomin) |
void | glmotion_zoom (void) |
void | glmotion_pan (ViewInfo *v) |
void glmotion_pan | ( | ViewInfo * | v | ) |
Definition at line 70 of file glmotion.c.
References _ViewInfo::active_camera, _ViewInfo::cameras, glCompMouse::dragX, glCompMouse::dragY, GetOGLDistance(), _ViewInfo::mouse, _ViewInfo::panx, _ViewInfo::pany, _viewport_camera::r, SIZE_MAX, _viewport_camera::targetx, _viewport_camera::targety, _viewport_camera::x, _viewport_camera::y, and _ViewInfo::zoom.
Referenced by apply_actions().
void glmotion_zoom | ( | void | ) |
Definition at line 54 of file glmotion.c.
References _ViewInfo::active_camera, _ViewInfo::cameras, glCompMouse::dragX, graph_zoom(), _ViewInfo::mouse, _viewport_camera::r, SIZE_MAX, view, and _ViewInfo::zoom.
Referenced by scroll_event().
void glmotion_zoom_inc | ( | int | zoomin | ) |
Definition at line 44 of file glmotion.c.
References glexpose(), graph_zoom(), view, and _ViewInfo::zoom.
Referenced by btnToolZoomOut_clicked(), menu_click_zoom_minus(), and menu_click_zoom_plus().
|
static |
Definition at line 22 of file glmotion.c.
References _ViewInfo::active_camera, _ViewInfo::cameras, topview::fitin_zoom, MAX_ZOOM, MIN_ZOOM, _ViewInfo::panx, _ViewInfo::pany, _viewport_camera::r, SIZE_MAX, _ViewInfo::Topview, view, and _ViewInfo::zoom.
Referenced by glmotion_zoom(), and glmotion_zoom_inc().