QCPAbstractPaintBuffer Class Referenceabstract

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-2.0.1/qcustomplot.h>

Inheritance diagram for QCPAbstractPaintBuffer:

Public Member Functions

 QCPAbstractPaintBuffer (const QSize &size, double devicePixelRatio)
 
virtual ~QCPAbstractPaintBuffer ()
 
QSize size () const
 
bool invalidated () const
 
double devicePixelRatio () const
 
void setSize (const QSize &size)
 
void setInvalidated (bool invalidated=true)
 
void setDevicePixelRatio (double ratio)
 
virtual QCPPainterstartPainting ()=0
 
virtual void donePainting ()
 
virtual void draw (QCPPainter *painter) const =0
 
virtual void clear (const QColor &color)=0
 

Protected Member Functions

virtual void reallocateBuffer ()=0
 

Protected Attributes

QSize mSize
 
double mDevicePixelRatio
 
bool mInvalidated
 

Constructor & Destructor Documentation

◆ QCPAbstractPaintBuffer()

QCPAbstractPaintBuffer::QCPAbstractPaintBuffer ( const QSize &  size,
double  devicePixelRatio 
)
explicit

◆ ~QCPAbstractPaintBuffer()

virtual QCPAbstractPaintBuffer::~QCPAbstractPaintBuffer ( )
virtual

Member Function Documentation

◆ clear()

virtual void QCPAbstractPaintBuffer::clear ( const QColor &  color)
pure virtual

Implemented in QCPPaintBufferPixmap.

◆ devicePixelRatio()

double QCPAbstractPaintBuffer::devicePixelRatio ( ) const
inline

◆ donePainting()

virtual void QCPAbstractPaintBuffer::donePainting ( )
inlinevirtual

◆ draw()

virtual void QCPAbstractPaintBuffer::draw ( QCPPainter painter) const
pure virtual

Implemented in QCPPaintBufferPixmap.

◆ invalidated()

bool QCPAbstractPaintBuffer::invalidated ( ) const
inline

◆ reallocateBuffer()

virtual void QCPAbstractPaintBuffer::reallocateBuffer ( )
protectedpure virtual

Implemented in QCPPaintBufferPixmap.

◆ setDevicePixelRatio()

void QCPAbstractPaintBuffer::setDevicePixelRatio ( double  ratio)

◆ setInvalidated()

void QCPAbstractPaintBuffer::setInvalidated ( bool  invalidated = true)

◆ setSize()

void QCPAbstractPaintBuffer::setSize ( const QSize &  size)

◆ size()

QSize QCPAbstractPaintBuffer::size ( ) const
inline

◆ startPainting()

virtual QCPPainter* QCPAbstractPaintBuffer::startPainting ( )
pure virtual

Implemented in QCPPaintBufferPixmap.

Member Data Documentation

◆ mDevicePixelRatio

double QCPAbstractPaintBuffer::mDevicePixelRatio
protected

◆ mInvalidated

bool QCPAbstractPaintBuffer::mInvalidated
protected

◆ mSize

QSize QCPAbstractPaintBuffer::mSize
protected

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