From: <ai...@us...> - 2009-03-21 18:56:00
|
Revision: 9767 http://plplot.svn.sourceforge.net/plplot/?rev=9767&view=rev Author: airwin Date: 2009-03-21 18:55:53 +0000 (Sat, 21 Mar 2009) Log Message: ----------- Small adjustment (598-> 595) to make default size (in units of points = 1/72 inch = 25.4/72 mm) correspond to A4. Modified Paths: -------------- trunk/drivers/qt.h Modified: trunk/drivers/qt.h =================================================================== --- trunk/drivers/qt.h 2009-03-21 16:54:17 UTC (rev 9766) +++ trunk/drivers/qt.h 2009-03-21 18:55:53 UTC (rev 9767) @@ -60,7 +60,7 @@ #define DPI 72 #define QT_DEFAULT_X 842 -#define QT_DEFAULT_Y 598 +#define QT_DEFAULT_Y 595 // Basic class, offering the common interface to all Qt plplot devices class QtPLDriver This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ai...@us...> - 2009-03-29 16:48:11
|
Revision: 9777 http://plplot.svn.sourceforge.net/plplot/?rev=9777&view=rev Author: airwin Date: 2009-03-29 16:47:58 +0000 (Sun, 29 Mar 2009) Log Message: ----------- DEFAULT_DPI changed from 80 to 72. I don't understand the discrepancy between the DEFAULT_DPI value and the actual dots per inch (80) on my monitor, but there is no question that 72 gives better results in terms of consistency with other devices, and consistency of font size between examples which have 4 sub-pages per plot (e.g., example 1) and the rest of the examples. 72 was also the best value found by Alban for his tests back when this parameter was called DPI. Modified Paths: -------------- trunk/drivers/qt.h Modified: trunk/drivers/qt.h =================================================================== --- trunk/drivers/qt.h 2009-03-29 16:38:08 UTC (rev 9776) +++ trunk/drivers/qt.h 2009-03-29 16:47:58 UTC (rev 9777) @@ -80,7 +80,7 @@ // but not qtwidget since it has independent access to information (e.g., // delivered by X) about the DPI of the monitor. So this value is only // used for the raster devices (bmpqt, jpgqt, pngqt, ppmqt, tiffqt). -#define DEFAULT_DPI 80 +#define DEFAULT_DPI 72 // These values are in units of pixels (the raster devices and qtwidget) // or points (epsqt, pdfqt, svgqt). In the points case, this corresponds This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ai...@us...> - 2009-04-24 18:00:47
|
Revision: 9845 http://plplot.svn.sourceforge.net/plplot/?rev=9845&view=rev Author: airwin Date: 2009-04-24 18:00:38 +0000 (Fri, 24 Apr 2009) Log Message: ----------- Fix applied so that extqt works for -fvisibility=hidden on Linux. With luck, this fix should also deal with potential visibility issues for extqt on Windows. Modified Paths: -------------- trunk/drivers/qt.h Modified: trunk/drivers/qt.h =================================================================== --- trunk/drivers/qt.h 2009-04-24 17:04:30 UTC (rev 9844) +++ trunk/drivers/qt.h 2009-04-24 18:00:38 UTC (rev 9845) @@ -267,7 +267,7 @@ // This widget allows to use plplot as a plotting engine in a Qt Application // The aspect ratio of the plotted data is constant, so gray strips are used // to delimit the page when the widget aspect ratio is not the one of the plotted page -class QtPLWidget: public QWidget, public QtPLDriver +class PLDLLIMPEXP_DRIVER QtPLWidget: public QWidget, public QtPLDriver { Q_OBJECT @@ -305,7 +305,7 @@ #endif #if defined (PLD_extqt) -class QtExtWidget: public QtPLWidget +class PLDLLIMPEXP_DRIVER QtExtWidget: public QtPLWidget { Q_OBJECT @@ -334,9 +334,9 @@ bool killed; }; -void plsetqtdev(QtExtWidget* widget); // Registers the widget as plot device, as the widget has to be created in the Qt application GUI, prior to any plplot call. Must be called before plinit(). +PLDLLIMPEXP_DRIVER void plsetqtdev(QtExtWidget* widget); // Registers the widget as plot device, as the widget has to be created in the Qt application GUI, prior to any plplot call. Must be called before plinit(). -void plfreeqtdev(); // Deletes and unregisters the device. +PLDLLIMPEXP_DRIVER void plfreeqtdev(); // Deletes and unregisters the device. #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |