#include <QColor>#include <QFont>#include <QImage>#include <QString>#include <QStringList>#include <string>#include "graphics.h"

Go to the source code of this file.
Namespaces | |
| Utils | |
Functions | |
| template<typename T > | |
| QFont | Utils::computeFont (const typename T::properties &props, int height) |
| Matrix | Utils::figureCurrentPoint (const graphics_object &fig) |
| Matrix | Utils::figureCurrentPoint (const graphics_object &fig, QMouseEvent *event) |
| std::string | Utils::figureSelectionType (QMouseEvent *event, bool isDoubleClick) |
| Qt::Alignment | Utils::fromHVAlign (const std::string &halign, const std::string &valign) |
| QColor | Utils::fromRgb (const Matrix &rgb) |
| QString | Utils::fromStdString (const std::string &s) |
| QStringList | Utils::fromStringVector (const string_vector &v) |
| QImage | Utils::makeImageFromCData (const octave_value &v, int width, int height) |
| octave_scalar_map | Utils::makeKeyEventStruct (QKeyEvent *event) |
| octave_scalar_map | Utils::makeScrollEventStruct (QWheelEvent *event) |
| template<typename T > | |
| T::properties & | Utils::properties (graphics_object obj) |
| Cell | Utils::toCellString (const QStringList &l) |
| Matrix | Utils::toRgb (const QColor &c) |
| std::string | Utils::toStdString (const QString &s) |
| string_vector | Utils::toStringVector (const QStringList &l) |