13 #include "qwt_global.h" 
   14 #include "qwt_null_paintdevice.h" 
   16 #include <qmetatype.h> 
   96         RenderPensUnscaled = 0x1
 
  114         Transformation = 1 << 2
 
  129     bool isEmpty() 
const;
 
  133     void render( QPainter* ) 
const;
 
  135     void render( QPainter*, 
const QSizeF&,
 
  136         Qt::AspectRatioMode = Qt::IgnoreAspectRatio ) 
const;
 
  138     void render( QPainter*, 
const QPointF&,
 
  139         Qt::Alignment = Qt::AlignTop | Qt::AlignLeft ) 
const;
 
  141     void render( QPainter*, 
const QRectF&,
 
  142         Qt::AspectRatioMode = Qt::IgnoreAspectRatio ) 
const;
 
  144     QPixmap toPixmap( qreal devicePixelRatio = 0.0 ) 
const;
 
  146     QPixmap toPixmap( 
const QSize&,
 
  147         Qt::AspectRatioMode = Qt::IgnoreAspectRatio,
 
  148         qreal devicePixelRatio = 0.0 ) 
const;
 
  150     QImage toImage( qreal devicePixelRatio = 0.0 ) 
const;
 
  152     QImage toImage( 
const QSize&,
 
  153         Qt::AspectRatioMode = Qt::IgnoreAspectRatio,
 
  154         qreal devicePixelRatio = 0.0 ) 
const;
 
  156     QRectF scaledBoundingRect( qreal sx, qreal sy ) 
const;
 
  158     QRectF boundingRect() 
const;
 
  159     QRectF controlPointRect() 
const;
 
  164     void setDefaultSize( 
const QSizeF& );
 
  165     QSizeF defaultSize() 
const;
 
  167     qreal heightForWidth( qreal width ) 
const;
 
  168     qreal widthForHeight( qreal height ) 
const;
 
  170     void setRenderHint( 
RenderHint, 
bool on = 
true );
 
  178     virtual 
void drawPath( const QPainterPath& ) QWT_OVERRIDE;
 
  180     virtual 
void drawPixmap( const QRectF&,
 
  181         const QPixmap&, const QRectF& ) QWT_OVERRIDE;
 
  183     virtual 
void drawImage( const QRectF&, const QImage&,
 
  184         const QRectF&, Qt::ImageConversionFlags ) QWT_OVERRIDE;
 
  186     virtual 
void updateState( const QPaintEngineState& ) QWT_OVERRIDE;
 
  189     void renderGraphic( QPainter*, QTransform* ) const;
 
  191     void updateBoundingRect( const QRectF& );
 
  192     void updateControlPointRect( const QRectF& );
 
A paint device for scalable graphics.
QFlags< RenderHint > RenderHints
QFlags< CommandType > CommandTypes
A null paint device doing nothing.
virtual QSize sizeMetrics() const =0