GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Figure.cc File Reference
#include <QAction>
#include <QActionEvent>
#include <QApplication>
#include <QClipboard>
#include <QEvent>
#include <QFileDialog>
#include <QFileInfo>
#include <QFrame>
#include <QImage>
#include <QMainWindow>
#include <QMenu>
#include <QMenuBar>
#include <QMessageBox>
#include <QtDebug>
#include <QTimer>
#include <QToolBar>
#include "Canvas.h"
#include "Container.h"
#include "Figure.h"
#include "FigureWindow.h"
#include "QtHandlesUtils.h"
#include "gui-preferences-global.h"
#include "qt-interpreter-events.h"
#include "file-ops.h"
#include "unwind-prot.h"
#include "utils.h"
#include "version.h"
#include "builtin-defun-decls.h"
#include "interpreter.h"
Include dependency graph for Figure.cc:

Go to the source code of this file.

Classes

class  MenuBar
 

Functions

static QRect boundingBoxToRect (const Matrix &bb)
 
static QImage pointer_to_qimage (const Matrix &cdata)
 

Function Documentation

◆ boundingBoxToRect()

static QRect boundingBoxToRect ( const Matrix bb)
static

Definition at line 73 of file Figure.cc.

References r, and round().

Referenced by Figure::Figure(), and Figure::update().

◆ pointer_to_qimage()

static QImage pointer_to_qimage ( const Matrix cdata)
static

Definition at line 89 of file Figure.cc.

References Array< T, Alloc >::columns(), and Array< T, Alloc >::rows().

Referenced by Figure::update().