1
0
mirror of https://gitlab.com/pholy/OSCAR-code.git synced 2025-04-23 22:20:49 +00:00

Increased max_drawlist_size in gLineChart

This commit is contained in:
Mark Watkins 2011-12-20 04:08:53 +10:00
parent 74316b891f
commit 1d914aed4d
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ protected:
GLShortBuffer * outlines;
//! \brief Used by accelerated waveform plots. Must be >= Screen Resolution (or at least graph width)
static const int max_drawlist_size=4096;
static const int max_drawlist_size=10000;
//! \brief The list of screen points used for accelerated waveform plots..
QPoint m_drawlist[max_drawlist_size];

View File

@ -839,7 +839,7 @@ void MainWindow::PrintReport(gGraphView *gv,QString name, QDate date)
getDaily()->eventBreakdownPie()->showTitle(false);
getDaily()->eventBreakdownPie()->setMargins(0,0,0,0);
QPixmap ebp=getDaily()->eventBreakdownPie()->renderPixmap(piesize,piesize,4);
QPixmap ebp=getDaily()->eventBreakdownPie()->renderPixmap(piesize,piesize,1);
painter.drawPixmap(virt_width-piesize,bounds.height(),piesize,piesize,ebp);
getDaily()->eventBreakdownPie()->showTitle(true);