GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Canvas.cc File Reference
#include <QApplication>
#include <QBitmap>
#include <QCursor>
#include <QInputDialog>
#include <QList>
#include <QMouseEvent>
#include <QWheelEvent>
#include <QRectF>
#include "Canvas.h"
#include "ContextMenu.h"
#include "GLCanvas.h"
#include "QtHandlesUtils.h"
#include "qt-graphics-toolkit.h"
#include "annotation-dialog.h"
#include "octave-qobject.h"
#include "qt-interpreter-events.h"
#include "builtin-defun-decls.h"
#include "graphics.h"
#include "interpreter.h"
#include "oct-opengl.h"
Include dependency graph for Canvas.cc:

Go to the source code of this file.

Functions

static void autoscale_axes (gh_manager &gh_mgr, axes::properties &ap)
 
static double button_number (QMouseEvent *event)
 
static bool pan_enabled (const graphics_object figObj)
 
static std::string pan_mode (const graphics_object figObj)
 
static bool zoom_enabled (const graphics_object figObj)
 
static std::string zoom_mode (const graphics_object figObj)
 

Function Documentation

◆ autoscale_axes()

static void autoscale_axes ( gh_manager &  gh_mgr,
axes::properties &  ap 
)
static

Definition at line 262 of file Canvas.cc.

Referenced by Canvas::canvasMousePressEvent().

◆ button_number()

static double button_number ( QMouseEvent *  event)
static

Definition at line 548 of file Canvas.cc.

Referenced by Canvas::canvasMousePressEvent().

◆ pan_enabled()

static bool pan_enabled ( const graphics_object  figObj)
static

◆ pan_mode()

static std::string pan_mode ( const graphics_object  figObj)
static

◆ zoom_enabled()

static bool zoom_enabled ( const graphics_object  figObj)
static

◆ zoom_mode()

static std::string zoom_mode ( const graphics_object  figObj)
static