OpenHantek
Static Public Member Functions
LegacyExportDrawer Class Reference

Exports the oscilloscope screen to a file or prints it. TODO Rewrite image exporter with OpenGL drawn grid and graphs. More...

#include <legacyexportdrawer.h>

Static Public Member Functions

static bool exportSamples (const PPresult *source, QPaintDevice *dest, const Dso::ControlSpecification *deviceSpecification, const DsoSettings *settings, bool isPrinter, const DsoSettingsColorValues *colorValues)
 Draw the graphs coming from source and labels to the destination paintdevice.
 

Detailed Description

Exports the oscilloscope screen to a file or prints it. TODO Rewrite image exporter with OpenGL drawn grid and graphs.

Sources: http://doc.qt.io/qt-5/qoffscreensurface.html http://doc.qt.io/qt-5/qopenglframebufferobject.html

https://dangelog.wordpress.com/2013/02/10/using-fbos-instead-of-pbuffers-in-qt-5-2/


The documentation for this class was generated from the following files: