26 #ifndef QPEXPORTCANVAS_H_
27 #define QPEXPORTCANVAS_H_
43 virtual bool print( QPrinter& printer ) = 0;
45 double heightRatio,
int externalAxisWidth,
int externalAxisHeight,
46 int rowIndex,
int colIndex, QRect imageRect ) = 0;
47 virtual bool printRect( QPainter* painter, QRect printGeom) = 0;
52 virtual const QPalette&
palette()
const = 0;
virtual ~QPExportCanvas()
virtual PlotFactory * implementationFactory() const =0
Returns a new instance of a PlotFactory that can create plot items for this implementation.
The idea behind a plot factory is to produce classes that are useful to the underlying implementation...
virtual bool isAxis() const
Interface implemented by classes that can export their draw area (QPAxis & QPCanvas).
virtual const QPalette & palette() const =0
virtual QPalette::ColorRole backgroundRole() const =0
virtual PlotLoggerPtr logger() const =0
PlotCanvas is an area for different PlotItems to be attached and drawn.
virtual bool print(QPrinter &printer)=0
virtual bool isVertical() const
virtual int canvasHeight() const =0
virtual bool printRect(QPainter *painter, QRect printGeom)=0
virtual int canvasWidth() const =0
virtual QImage grabImageFromCanvas(const PlotExportFormat &format)=0